]> git.proxmox.com Git - mirror_qemu.git/commitdiff
move two variable declarations out of vl.c
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Apr 2010 17:57:09 +0000 (19:57 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 9 Apr 2010 16:55:54 +0000 (18:55 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/i8259.c
hw/isa-bus.c
vl.c

index 3de22e343ef9c337de406a0290f1c2ab55f88b96..37ef04e5199e7c03c7d9462aebcc6c27d802a2cf 100644 (file)
@@ -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)
index 4d489d205952ee2f8d151dfc4504e7e1abe66828..4e306de9cfd4d29efbc7a6e036bc866e8618e25d 100644 (file)
@@ -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 546c63181e457ba29a5a3d981f7d4916a7f23d99..2c5e9efd2eb9c3487ac37ae56af010b410ebfec2 100644 (file)
--- 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)
 {