]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/timer/mc146818rtc.h
m48t59: QOM cast cleanup for M48t59SysBusState
[mirror_qemu.git] / include / hw / timer / mc146818rtc.h
CommitLineData
e1460e47
IY
1#ifndef MC146818RTC_H
2#define MC146818RTC_H
3
0d09e41a
PB
4#include "hw/isa/isa.h"
5#include "hw/timer/mc146818rtc_regs.h"
7d932dfd 6
0e41271e
AF
7#define TYPE_MC146818_RTC "mc146818rtc"
8
48a18b3c 9ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
1d914fa0 10void rtc_set_memory(ISADevice *dev, int addr, int val);
b8b7456d 11int rtc_get_memory(ISADevice *dev, int addr);
e1460e47
IY
12
13#endif /* !MC146818RTC_H */