From: Paolo Bonzini Date: Thu, 1 Apr 2010 17:57:09 +0000 (+0200) Subject: move two variable declarations out of vl.c X-Git-Tag: v0.13.0-rc0~839 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fbe3288df645b3b81850008327e3b714a5ca7036;p=thirdparty%2Fqemu.git move two variable declarations out of vl.c Signed-off-by: Paolo Bonzini Signed-off-by: Aurelien Jarno --- diff --git a/hw/i8259.c b/hw/i8259.c index 3de22e343ef..37ef04e5199 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -68,6 +68,7 @@ static int irq_level[16]; #ifdef DEBUG_IRQ_COUNT static uint64_t irq_count[16]; #endif +PicState2 *isa_pic; /* set irq level. If an edge is detected, then the IRR is set to 1 */ static inline void pic_set_irq1(PicState *s, int irq, int level) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 4d489d20595..4e306de9cfd 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -28,6 +28,7 @@ struct ISABus { uint32_t assigned; }; static ISABus *isabus; +target_phys_addr_t isa_mem_base = 0; static void isabus_dev_print(Monitor *mon, DeviceState *dev, int indent); diff --git a/vl.c b/vl.c index 546c63181e4..2c5e9efd2eb 100644 --- a/vl.c +++ b/vl.c @@ -292,10 +292,6 @@ static int default_driver_check(QemuOpts *opts, void *opaque) } /***********************************************************/ -/* x86 ISA bus support */ - -target_phys_addr_t isa_mem_base = 0; -PicState2 *isa_pic; static void set_proc_name(const char *s) {