]> git.proxmox.com Git - qemu.git/blame - hw/mc146818rtc.h
esp: cancel current request only if some request is in flight
[qemu.git] / hw / mc146818rtc.h
CommitLineData
e1460e47
IY
1#ifndef MC146818RTC_H
2#define MC146818RTC_H
3
1d914fa0 4#include "isa.h"
e1460e47 5
7d932dfd
JK
6#define RTC_ISA_IRQ 8
7
8ISADevice *rtc_init(int base_year, qemu_irq intercept_irq);
1d914fa0
IY
9void rtc_set_memory(ISADevice *dev, int addr, int val);
10void rtc_set_date(ISADevice *dev, const struct tm *tm);
e1460e47
IY
11
12#endif /* !MC146818RTC_H */