aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-06-24 14:41:04 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-06-26 18:40:12 +0100
commitcb663a81c1a81adacd3c6201d6b236346c7ea911 (patch)
treed99b0abab727d6f091c43ab3a740c2d2755fb4f4 /include/qemu/compiler.h
parent501f062e91ca97dfbeaa5148be59d6a27448c9d8 (diff)
downloadqemu-cb663a81c1a81adacd3c6201d6b236346c7ea911.zip
qemu-cb663a81c1a81adacd3c6201d6b236346c7ea911.tar.gz
qemu-cb663a81c1a81adacd3c6201d6b236346c7ea911.tar.bz2
pckbd: switch I8042_MMIO 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-50-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions