Skip to content

hw/rtc: Rename RTCState -> MC146818RtcState and adapt API

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/rtc/mc146818rtc: Rename RTCState -> MC146818RtcStatehw/isa/piix4.c hw/isa/vt82c686.c hw/rtc/mc146818rtc.c +1 more+63 -631 reply
2/3hw/rtc/mc146818rtc: Pass MC146818RtcState instead of ISADevice argumenthw/i386/microvm.c hw/i386/pc.c hw/i386/x86.c +3 more+25 -251 reply
3/3hw/rtc: Rename rtc_[get|set]_memory -> mc146818rtc_[get|set]_cmos_datahw/i386/microvm.c hw/i386/pc.c hw/i386/x86.c +3 more+51 -511 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] hw/rtc: Rename RTCState -> MC146818RtcState and adapt API

rtc_get_memory() and rtc_set_memory() helpers only work with MC146818 RTC devices, not any ISA device. Rename accordingly including 'MC146818' in the method names.

Philippe Mathieu-Daudé (3):
hw/rtc/mc146818rtc: Rename RTCState -> MC146818RtcState hw/rtc/mc146818rtc: Pass MC146818RtcState instead of ISADevice
argument
hw/rtc: Rename rtc_[get|set]_memory -> mc146818rtc_[get|set]_cmos_data

 hw/i386/microvm.c            |  28 ++++----
 hw/i386/pc.c                 |  74 +++++++++++----------
 hw/i386/x86.c                |   8 ++-
 hw/isa/piix4.c               |   2 +-
 hw/isa/vt82c686.c            |   2 +-
 hw/ppc/prep.c                |  11 ++-
 hw/rtc/mc146818rtc.c         | 125 +++++++++++++++++------------------
 include/hw/rtc/mc146818rtc.h |  14 ++--
 8 files changed, 132 insertions(+), 132 deletions(-)
Signature · 1 line
2.38.1