mirror_qemu/hw/rtc
Peter Maydell c0a6385728 hw/rtc/aspeed_rtc: Use 64-bit offset for holding time_t difference
In the aspeed_rtc device we store a difference between two time_t
values in an 'int'. This is not really correct when time_t could
be 64 bits. Enlarge the field to 'int64_t'.

This is a migration compatibility break for the aspeed boards.
While we are changing the vmstate, remove the accidental
duplicate of the offset field.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
2023-08-31 09:45:18 +01:00
..
Kconfig hw/loongarch: Add LoongArch ls7a rtc device support 2022-06-06 18:14:13 +00:00
allwinner-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
aspeed_rtc.c hw/rtc/aspeed_rtc: Use 64-bit offset for holding time_t difference 2023-08-31 09:45:18 +01:00
ds1338.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
exynos4210_rtc.c bulk: Rename TARGET_FMT_plx -> HWADDR_FMT_plx 2023-01-18 11:14:34 +01:00
goldfish_rtc.c goldfish_rtc: Add big-endian property 2022-09-04 07:02:56 +01:00
ls7a_rtc.c hw/rtc/ls7a_rtc: Drop unused inline functions 2022-07-05 16:17:53 +05:30
m41t80.c Replace qemu_gettimeofday() with g_get_real_time() 2022-04-06 10:50:37 +02:00
m48t59-internal.h hw/timer/m48t59: Convert debug printf()s to trace events 2020-02-06 10:51:24 +01:00
m48t59-isa.c hw/isa: Remove empty ISADeviceClass structure 2023-02-27 22:29:01 +01:00
m48t59.c hw/rtc/m48t59: Use 64-bit arithmetic in set_alarm() 2023-08-31 09:45:17 +01:00
mc146818rtc.c hw/rtc: Rename rtc_[get|set]_memory -> mc146818rtc_[get|set]_cmos_data 2023-02-27 22:29:02 +01:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
pl031.c rtc: Have event RTC_CHANGE identify the RTC by QOM path 2022-02-28 11:39:35 +01:00
sun4v-rtc.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
twl92230.c hw/rtc/twl92230: Use int64_t for sec_offset and alm_sec 2023-08-31 09:45:18 +01:00
xlnx-zynqmp-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00