qemu-e2k/hw/rtc
Bernhard Beschow 5b21b331be hw/rtc/mc146818rtc: QOM'ify io_base offset
Exposing the io_base offset as a QOM property not only allows it to be
configurable but also to be displayed in HMP:

Before:

(qemu) info qtree
       ...
          dev: mc146818rtc, id ""
            gpio-out "" 1
            base_year = 0 (0x0)
            irq = 8 (0x8)
            lost_tick_policy = "discard"

After:

          dev: mc146818rtc, id ""
            gpio-out "" 1
            base_year = 0 (0x0)
            iobase = 112 (0x70)
            irq = 8 (0x8)
            lost_tick_policy = "discard"

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220529184006.10712-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2022-06-11 11:44:50 +02:00
..
allwinner-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
aspeed_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
ds1338.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
exynos4210_rtc.c ptimer: Rename PTIMER_POLICY_DEFAULT to PTIMER_POLICY_LEGACY 2022-05-19 16:19:03 +01:00
goldfish_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
Kconfig hw/loongarch: Add LoongArch ls7a rtc device support 2022-06-06 18:14:13 +00:00
ls7a_rtc.c hw/loongarch: Add LoongArch ls7a rtc device support 2022-06-06 18:14:13 +00:00
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: Inline and remove one-line isa_init_irq() 2022-03-08 19:38:17 +01:00
m48t59.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
mc146818rtc.c hw/rtc/mc146818rtc: QOM'ify io_base offset 2022-06-11 11:44:50 +02:00
meson.build hw/loongarch: Add LoongArch ls7a rtc device support 2022-06-06 18:14:13 +00: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 rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
xlnx-zynqmp-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00