virtio-ccw, s390-virtio: Use generic virtio-blk macro.
[qemu.git] / hw / mc146818rtc.h
blob967403edb5384237ce390a2d509c27038251eaae
1 #ifndef MC146818RTC_H
2 #define MC146818RTC_H
4 #include "hw/isa.h"
5 #include "hw/mc146818rtc_regs.h"
7 ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
8 void rtc_set_memory(ISADevice *dev, int addr, int val);
9 void rtc_set_date(ISADevice *dev, const struct tm *tm);
11 #endif /* !MC146818RTC_H */