diff options
author | Mark Cave-Ayland | 2022-06-24 15:40:51 +0200 |
---|---|---|
committer | Mark Cave-Ayland | 2022-06-26 19:40:12 +0200 |
commit | 423bcb234b358a46c868f6baa0483c84870825c5 (patch) | |
tree | 17c72bbf5c5f2671265da50ed602e95d273d908c /.travis.yml | |
parent | pckbd: replace irq_kbd and irq_mouse with qemu_irq array in KBDState (diff) | |
download | qemu-423bcb234b358a46c868f6baa0483c84870825c5.tar.gz qemu-423bcb234b358a46c868f6baa0483c84870825c5.tar.xz qemu-423bcb234b358a46c868f6baa0483c84870825c5.zip |
pl050: switch over from update_irq() function to PS2 device gpio
Add a new pl050_init() function which initialises a qdev input gpio for handling
incoming PS2 IRQs, and then wire up the PS2 device 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>
Message-Id: <20220624134109.881989-37-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions