2010-05-14 11:29:16 +04:00
|
|
|
#ifndef MC146818RTC_H
|
|
|
|
#define MC146818RTC_H
|
|
|
|
|
2013-02-04 18:40:22 +04:00
|
|
|
#include "hw/isa.h"
|
|
|
|
#include "hw/mc146818rtc_regs.h"
|
2010-06-13 16:15:40 +04:00
|
|
|
|
2011-12-16 01:09:51 +04:00
|
|
|
ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
|
2010-05-14 11:29:17 +04:00
|
|
|
void rtc_set_memory(ISADevice *dev, int addr, int val);
|
|
|
|
void rtc_set_date(ISADevice *dev, const struct tm *tm);
|
2010-05-14 11:29:16 +04:00
|
|
|
|
|
|
|
#endif /* !MC146818RTC_H */
|