summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLaurent Vivier2019-12-20 22:40:54 +0100
committerDavid Gibson2020-01-08 01:01:59 +0100
commit068fe58cf93030fd96b7659bfc7626867ecd518a (patch)
treed1b98ca9cfd3cc476cd48311d6850ff66d346819 /include
parentppc/pnv: Modify the powerdown notifier to get the PowerNV machine (diff)
downloadqemu-068fe58cf93030fd96b7659bfc7626867ecd518a.tar.gz
qemu-068fe58cf93030fd96b7659bfc7626867ecd518a.tar.xz
qemu-068fe58cf93030fd96b7659bfc7626867ecd518a.zip
mos6522: remove anh register
Register addr 1 is defined as buffer A with handshake (vBufAH), register addr 15 is also defined as buffer A without handshake (vBufA). As both addresses access the same register, remove the definition of 'anh' and use only 'a' (with VIA_REG_ANH and VIA_REG_A). Fixes: 51f233ec92cd ("misc: introduce new mos6522 VIA device and enable it for ppc builds") Signed-off-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20191220214054.76525-1-laurent@vivier.eu> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/mos6522.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/misc/mos6522.h b/include/hw/misc/mos6522.h
index 493c907537..97384c6e02 100644
--- a/include/hw/misc/mos6522.h
+++ b/include/hw/misc/mos6522.h
@@ -115,7 +115,6 @@ typedef struct MOS6522State {
uint8_t pcr;
uint8_t ifr;
uint8_t ier;
- uint8_t anh;
MOS6522Timer timers[2];
uint64_t frequency;