1#ifndef MC146818RTC_H 2#define MC146818RTC_H 3 4#include "hw/isa/isa.h" 5#include "hw/timer/mc146818rtc_regs.h" 6 7#define TYPE_MC146818_RTC "mc146818rtc" 8 9ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq); 10void rtc_set_memory(ISADevice *dev, int addr, int val); 11int rtc_get_memory(ISADevice *dev, int addr); 12 13#endif /* !MC146818RTC_H */ 14