e1000: bounds packet size against buffer size
[qemu.git] / hw / mc146818rtc.h
blob575968c0415c89ddfec4c8e44583e60430f990b8
1 #ifndef MC146818RTC_H
2 #define MC146818RTC_H
4 #include "isa.h"
6 #define RTC_ISA_IRQ 8
8 ISADevice *rtc_init(int base_year, qemu_irq intercept_irq);
9 void rtc_set_memory(ISADevice *dev, int addr, int val);
10 void rtc_set_date(ISADevice *dev, const struct tm *tm);
12 #endif /* !MC146818RTC_H */