monitor: Fix tracepoint crash on JSON syntax error
[qemu/armbru.git] / include / hw / timer / mc146818rtc.h
blobfe6ed63f7179700c5f4e4d6452866ffb74c4258d
1 #ifndef MC146818RTC_H
2 #define MC146818RTC_H
4 #include "hw/isa/isa.h"
5 #include "hw/timer/mc146818rtc_regs.h"
7 #define TYPE_MC146818_RTC "mc146818rtc"
9 ISADevice *mc146818_rtc_init(ISABus *bus, int base_year,
10 qemu_irq intercept_irq);
11 void rtc_set_memory(ISADevice *dev, int addr, int val);
12 int rtc_get_memory(ISADevice *dev, int addr);
14 #endif /* MC146818RTC_H */