mac_via: move PRAM/RTC variables to MOS6522Q800VIA1State
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 30 Aug 2021 10:24:39 +0000 (11:24 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 8 Sep 2021 13:37:40 +0000 (15:37 +0200)
commit741258b06cd5fa834fc826c8f308fc18fe1dab35
tree35952a0b2e68b81c5317a06dfffd3222d18b39b6
parent8064d7bb54cf4e4b7bacb2020bbe2e2132aa7407
mac_via: move PRAM/RTC variables to MOS6522Q800VIA1State

The PRAM/RTC is accessed using clock and data pins on q800 VIA1 port B and so
can be moved to MOS6522Q800VIA1State.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210830102447.10806-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/misc/mac_via.c
include/hw/misc/mac_via.h