diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-28 15:42:06 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-30 08:14:12 -0500 |
commit | fd94be7ae65195c1fad2b740e0cd4620b25cc5b5 (patch) | |
tree | f3372b43594a5242aa4547c69d138154c3264406 /hw/mc146818rtc.h | |
parent | 49ee35907723a28e91da27537f48c9d8696c427e (diff) | |
download | qemu-fd94be7ae65195c1fad2b740e0cd4620b25cc5b5.zip qemu-fd94be7ae65195c1fad2b740e0cd4620b25cc5b5.tar.gz qemu-fd94be7ae65195c1fad2b740e0cd4620b25cc5b5.tar.bz2 |
rtc: split out macros into a header file and use in test case
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mc146818rtc.h')
-rw-r--r-- | hw/mc146818rtc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/mc146818rtc.h b/hw/mc146818rtc.h index f119930..f286b6a 100644 --- a/hw/mc146818rtc.h +++ b/hw/mc146818rtc.h @@ -2,8 +2,7 @@ #define MC146818RTC_H #include "isa.h" - -#define RTC_ISA_IRQ 8 +#include "mc146818rtc_regs.h" ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq); void rtc_set_memory(ISADevice *dev, int addr, int val); |