move two variable declarations out of vl.c

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Paolo Bonzini 2010-04-01 19:57:09 +02:00 committed by Aurelien Jarno
parent 0706a4dcce
commit fbe3288df6
3 changed files with 2 additions and 4 deletions

View 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)

View 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);

4
vl.c
View File

@ -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)
{