mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
48a18b3c69
NULL is a valid bus/device, so there is no change in behaviour. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
13 lines
300 B
C
13 lines
300 B
C
#ifndef MC146818RTC_H
|
|
#define MC146818RTC_H
|
|
|
|
#include "isa.h"
|
|
|
|
#define RTC_ISA_IRQ 8
|
|
|
|
ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
|
|
void rtc_set_memory(ISADevice *dev, int addr, int val);
|
|
void rtc_set_date(ISADevice *dev, const struct tm *tm);
|
|
|
|
#endif /* !MC146818RTC_H */
|