Skip to content

Make mc146818rtc more self-contained

Bernhard Beschow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2isa/piix4: Resolve RTCState attributehw/isa/piix4.c+1 -142 replies
2/2mc146818rtc: Unexport RTCStatehw/rtc/mc146818rtc.c include/hw/rtc/mc146818rtc.h+35 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Make mc146818rtc more self-contained

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(-)
Signature · 1 line
2.35.1