virtio-blk: blockdev_mark_auto_del is transport-independent
[qemu/kevin.git] / hw / mc146818rtc.h
blobf286b6a12ae36326bfdb9855403ffc73fb4f1dac
1 #ifndef MC146818RTC_H
2 #define MC146818RTC_H
4 #include "isa.h"
5 #include "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 */