diff options
-rw-r--r-- | hw/i8254.c | 3 | ||||
-rw-r--r-- | hw/i8259.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/i8254.c b/hw/i8254.c index 019c7b8c4..878a47b46 100644 --- a/hw/i8254.c +++ b/hw/i8254.c @@ -348,7 +348,8 @@ static uint32_t pit_ioport_read(void *opaque, uint32_t addr) } /* global counters for time-drift fix */ -int64_t timer_acks=0, timer_interrupts=0, timer_ints_to_push=0; +extern int64_t timer_acks, timer_ints_to_push; +int64_t timer_interrupts=0; extern int time_drift_fix; diff --git a/hw/i8259.c b/hw/i8259.c index c5841c01e..f33a25dba 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -211,7 +211,7 @@ static void pic_intack(PicState *s, int irq) } extern int time_drift_fix; -extern int64_t timer_acks, timer_ints_to_push; +int64_t timer_acks=0, timer_ints_to_push=0; int pic_read_irq(PicState *s) { |