mbox series

[0/2] Make mc146818rtc more self-contained

Message ID 20220205175913.31738-1-shentey@gmail.com
Headers show
Series Make mc146818rtc more self-contained | expand

Message

Bernhard Beschow Feb. 5, 2022, 5:59 p.m. UTC
The internal state of mc146818rtc is currently exported as RTCState. This
violates encapsulation. Resolve it by first converting the last external user,
then by unexporting RTCState.

Bernhard Beschow (2):
  isa/piix4: Resolve RTCState attribute
  mc146818rtc: Unexport RTCState

 hw/isa/piix4.c               | 15 +--------------
 hw/rtc/mc146818rtc.c         | 34 ++++++++++++++++++++++++++++++++++
 include/hw/rtc/mc146818rtc.h | 35 +----------------------------------
 3 files changed, 36 insertions(+), 48 deletions(-)