aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/trace-events
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2019-07-01 17:26:15 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-07-01 17:28:59 +0100
commit979672cf51533ac629b925fea096eb6bfe25261a (patch)
tree8852f1cb1fc1925a41e68144bf054811dc14a8d6 /hw/timer/trace-events
parentd783d1fe581dc250dcc44e629f2f52f617920465 (diff)
downloadqemu-979672cf51533ac629b925fea096eb6bfe25261a.zip
qemu-979672cf51533ac629b925fea096eb6bfe25261a.tar.gz
qemu-979672cf51533ac629b925fea096eb6bfe25261a.tar.bz2
hw: timer: Add ASPEED RTC device
The RTC is modeled to provide time and date functionality. It is initialised at zero to match the hardware. There is no modelling of the alarm functionality, which includes the IRQ line. As there is no guest code to exercise this function that is acceptable for now. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20190618165311.27066-4-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer/trace-events')
-rw-r--r--hw/timer/trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/timer/trace-events b/hw/timer/trace-events
index dcaf3d6..db02a91 100644
--- a/hw/timer/trace-events
+++ b/hw/timer/trace-events
@@ -66,6 +66,10 @@ cmsdk_apb_dualtimer_read(uint64_t offset, uint64_t data, unsigned size) "CMSDK A
cmsdk_apb_dualtimer_write(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB dualtimer write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
cmsdk_apb_dualtimer_reset(void) "CMSDK APB dualtimer: reset"
+# hw/timer/aspeed-rtc.c
+aspeed_rtc_read(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
+aspeed_rtc_write(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
+
# sun4v-rtc.c
sun4v_rtc_read(uint64_t addr, uint64_t value) "read: addr 0x%" PRIx64 " value 0x%" PRIx64
sun4v_rtc_write(uint64_t addr, uint64_t value) "write: addr 0x%" PRIx64 " value 0x%" PRIx64