aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-parallel.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-10-04 09:38:03 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-10-06 10:33:43 +0200
commitc698b0c8edd63f8631efd935ac75c28418ae4c7d (patch)
treeb73d7133ff60ccd61ad6af276748202f0750d36e /chardev/char-parallel.c
parent7ebfb91d8f07447dc6cd30fba0119dc07c9cd3ba (diff)
downloadqemu-c698b0c8edd63f8631efd935ac75c28418ae4c7d.zip
qemu-c698b0c8edd63f8631efd935ac75c28418ae4c7d.tar.gz
qemu-c698b0c8edd63f8631efd935ac75c28418ae4c7d.tar.bz2
mac_via: always clear ADB interrupt when switching to A/UX mode
When the NetBSD kernel initialises it can leave the ADB interrupt asserted depending upon where in the ADB poll cycle the MacOS ADB interrupt handler is when the NetBSD kernel disables interrupts. The NetBSD ADB driver uses the ADB interrupt state to determine if the ADB is busy and refuses to send ADB commands unless it is clear. To ensure that this doesn't happen, always clear the ADB interrupt when switching to A/UX mode to ensure that the bus enumeration always occurs. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-ID: <20231004083806.757242-18-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'chardev/char-parallel.c')
0 files changed, 0 insertions, 0 deletions