summaryrefslogtreecommitdiffstats
path: root/hw/mips/loongson3_bootp.c
diff options
context:
space:
mode:
authorVolker RĂ¼melin2021-05-25 20:14:39 +0200
committerGerd Hoffmann2021-05-26 11:32:20 +0200
commitf6f57a82989725fa6f23a4e55cebbc85a54b77c7 (patch)
tree019454bdadfca140af9262dd7cc941ea676c5256 /hw/mips/loongson3_bootp.c
parentpckbd: add function kbd_pending() (diff)
downloadqemu-f6f57a82989725fa6f23a4e55cebbc85a54b77c7.tar.gz
qemu-f6f57a82989725fa6f23a4e55cebbc85a54b77c7.tar.xz
qemu-f6f57a82989725fa6f23a4e55cebbc85a54b77c7.zip
pckbd: correctly disable PS/2 communication
Currently the PS/2 controller command KBD_CCMD_MOUSE_DISABLE doesn't disable the PS/2 mouse communication at all, and the PS/2 controller commands KBD_CCMD_KBD_DISABLE and KBD_CCMD_KBD_ENABLE only disable and enable the keyboard interrupt, which is very different from what a real PS/2 controller does. A guest may notice the difference. Mask out pending data on disabled queues to correctly disable the PS/2 controller communication. Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de> Message-Id: <20210525181441.27768-10-vr_qemu@t-online.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/mips/loongson3_bootp.c')
0 files changed, 0 insertions, 0 deletions