root / hw / mc146818rtc.h @ 136be99e
History | View | Annotate | Download (307 Bytes)
1 |
#ifndef MC146818RTC_H
|
---|---|
2 |
#define MC146818RTC_H
|
3 |
|
4 |
#include "isa.h" |
5 |
#include "mc146818rtc_regs.h" |
6 |
|
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); |
10 |
|
11 |
#endif /* !MC146818RTC_H */ |