2010-05-14 09:29:16 +02:00
|
|
|
#ifndef MC146818RTC_H
|
|
|
|
#define MC146818RTC_H
|
|
|
|
|
2010-05-14 09:29:17 +02:00
|
|
|
#include "isa.h"
|
2010-05-14 09:29:16 +02:00
|
|
|
|
2010-06-13 14:15:40 +02:00
|
|
|
#define RTC_ISA_IRQ 8
|
|
|
|
|
|
|
|
ISADevice *rtc_init(int base_year, qemu_irq intercept_irq);
|
2010-05-14 09:29:17 +02:00
|
|
|
void rtc_set_memory(ISADevice *dev, int addr, int val);
|
|
|
|
void rtc_set_date(ISADevice *dev, const struct tm *tm);
|
2010-05-14 09:29:16 +02:00
|
|
|
|
|
|
|
#endif /* !MC146818RTC_H */
|