diff options
author | Mark Cave-Ayland | 2022-07-12 23:52:38 +0200 |
---|---|---|
committer | Mark Cave-Ayland | 2022-07-18 20:28:46 +0200 |
commit | ca735a81b27c7b54b26202be479075acbc1657c5 (patch) | |
tree | 2d46d1a6b3f054bfcb51023190a8967119414ac1 /include | |
parent | lasips2: add named input gpio to port for downstream PS2 device IRQ (diff) | |
download | qemu-ca735a81b27c7b54b26202be479075acbc1657c5.tar.gz qemu-ca735a81b27c7b54b26202be479075acbc1657c5.tar.xz qemu-ca735a81b27c7b54b26202be479075acbc1657c5.zip |
lasips2: add named input gpio to handle incoming port IRQs
The LASIPS2 device named input gpio is soon to be connected to the port output
IRQs. Add a new int_status field to LASIPS2State which is a bitmap representing
the port input IRQ status which will be enabled in the next patch.
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>
Message-Id: <20220712215251.7944-28-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/input/lasips2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/input/lasips2.h b/include/hw/input/lasips2.h index 35e0aa26eb..b79febf64b 100644 --- a/include/hw/input/lasips2.h +++ b/include/hw/input/lasips2.h @@ -69,6 +69,7 @@ struct LASIPS2State { LASIPS2KbdPort kbd_port; LASIPS2MousePort mouse_port; + uint8_t int_status; qemu_irq irq; }; |