mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
lasips2: introduce new LASIPS2_MOUSE_PORT QOM type
This will be soon be used to hold the underlying PS2_MOUSE_DEVICE object. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Helge Deller <deller@gmx.de> Acked-by: Helge Deller <deller@gmx.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220712215251.7944-19-mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
@@ -50,6 +50,13 @@ struct LASIPS2KbdPort {
|
||||
LASIPS2Port parent_obj;
|
||||
};
|
||||
|
||||
#define TYPE_LASIPS2_MOUSE_PORT "lasips2-mouse-port"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(LASIPS2MousePort, LASIPS2_MOUSE_PORT)
|
||||
|
||||
struct LASIPS2MousePort {
|
||||
LASIPS2Port parent_obj;
|
||||
};
|
||||
|
||||
struct LASIPS2State {
|
||||
SysBusDevice parent_obj;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user