summaryrefslogtreecommitdiffstats
path: root/include/hw/input
diff options
context:
space:
mode:
authorMark Cave-Ayland2022-06-24 15:41:07 +0200
committerMark Cave-Ayland2022-06-26 19:40:12 +0200
commit6eb252d50cf08704adffed7c758a5b95b15c27e9 (patch)
tree841afa43b2b5bbc01d625cf8cc329454b0bf5770 /include/hw/input
parentpckbd: add i8042_reset() function to I8042 device (diff)
downloadqemu-6eb252d50cf08704adffed7c758a5b95b15c27e9.tar.gz
qemu-6eb252d50cf08704adffed7c758a5b95b15c27e9.tar.xz
qemu-6eb252d50cf08704adffed7c758a5b95b15c27e9.zip
pckbd: switch I8042 device from update_irq() function to PS2 device gpio
Define a new qdev input gpio for handling incoming PS2 IRQs, and then wire up the PS2 keyboard and mouse devices to use it. At the same time set update_irq() and update_arg to NULL in ps2_kbd_init() and ps2_mouse_init() to ensure that any accidental attempt to use the legacy update_irq() function will cause a NULL pointer dereference. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Helge Deller <deller@gmx.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220624134109.881989-53-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw/input')
0 files changed, 0 insertions, 0 deletions