diff options
author | Mark Cave-Ayland | 2021-10-20 15:41:27 +0200 |
---|---|---|
committer | Laurent Vivier | 2021-10-20 16:18:40 +0200 |
commit | 291bc1809a0ec75f283717850003c08953d80e7c (patch) | |
tree | 3f7bdfe716849d4a3b585211deeb661d52d6232b /include/hw | |
parent | q800: use GLUE IRQ numbers instead of IRQ level for GLUE IRQs (diff) | |
download | qemu-291bc1809a0ec75f283717850003c08953d80e7c.tar.gz qemu-291bc1809a0ec75f283717850003c08953d80e7c.tar.xz qemu-291bc1809a0ec75f283717850003c08953d80e7c.zip |
mac_via: add GPIO for A/UX mode
Add a new auxmode GPIO that is updated when port B bit 6 is changed indicating
whether the hardware is configured for A/UX mode.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211020134131.4392-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/misc/mac_via.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/mac_via.h b/include/hw/misc/mac_via.h index 4506abe5d0..b445565866 100644 --- a/include/hw/misc/mac_via.h +++ b/include/hw/misc/mac_via.h @@ -43,6 +43,7 @@ struct MOS6522Q800VIA1State { MemoryRegion via_mem; qemu_irq irqs[VIA1_IRQ_NB]; + qemu_irq auxmode_irq; uint8_t last_b; /* RTC */ |