hw/m68k/next-cube: Move rtc into NeXTPC struct
commit6f0face74955c076984ecc585c41162b770b5d8d
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jan 2021 20:12:03 +0000 (15 20:12 +0000)
committerThomas Huth <huth@tuxfamily.org>
Tue, 19 Jan 2021 08:11:46 +0000 (19 09:11 +0100)
treed6acc17ab40cb5676d59a953b52646a4511d5c25
parentd9cd403972f45d0d08b3074cd87dabcf37d4dfcd
hw/m68k/next-cube: Move rtc into NeXTPC struct

Move the rtc into the NeXTPC struct. Since this is the last
use of the 'backdoor' NextState pointer we can now remove that.

Probably the RTC should be its own device at some point: in hardware
there is a separate MCS1850 RTC chip connected to the Peripheral
Controller via a 1-bit serial interface.  That goes beyond the remit
of the current refactoring, though.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210115201206.17347-9-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
hw/m68k/next-cube.c