aboutsummaryrefslogtreecommitdiff
path: root/hw/mc146818rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mc146818rtc.h')
-rw-r--r--hw/mc146818rtc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/mc146818rtc.h b/hw/mc146818rtc.h
index 6f46a68..575968c 100644
--- a/hw/mc146818rtc.h
+++ b/hw/mc146818rtc.h
@@ -3,7 +3,9 @@
#include "isa.h"
-ISADevice *rtc_init(int base_year);
+#define RTC_ISA_IRQ 8
+
+ISADevice *rtc_init(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);