[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] hw/rtc: Rename RTCState -> MC146818RtcState and adapt API
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/3] hw/rtc: Rename RTCState -> MC146818RtcState and adapt API |
Date: |
Sat, 11 Feb 2023 00:31:13 +0100 |
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(-)
--
2.38.1
- [PATCH 0/3] hw/rtc: Rename RTCState -> MC146818RtcState and adapt API,
Philippe Mathieu-Daudé <=