mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06:00
lasips2: introduce new LASIPS2_KBD_PORT QOM type
This will be soon be used to hold the underlying PS2_KBD_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-18-mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
f8d89a7da4
commit
ef90a06f99
2 changed files with 14 additions and 0 deletions
|
@ -43,6 +43,13 @@ struct LASIPS2Port {
|
|||
bool irq;
|
||||
};
|
||||
|
||||
#define TYPE_LASIPS2_KBD_PORT "lasips2-kbd-port"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(LASIPS2KbdPort, LASIPS2_KBD_PORT)
|
||||
|
||||
struct LASIPS2KbdPort {
|
||||
LASIPS2Port parent_obj;
|
||||
};
|
||||
|
||||
struct LASIPS2State {
|
||||
SysBusDevice parent_obj;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue