Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsZqy-0007xu-MR for qemu-devel@nongnu.org; Fri, 19 Mar 2010 06:54:56 -0400 Received: from [199.232.76.173] (port=53171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsZqx-0007xN-Q3 for qemu-devel@nongnu.org; Fri, 19 Mar 2010 06:54:55 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NsZqw-0000Fl-Fy for qemu-devel@nongnu.org; Fri, 19 Mar 2010 06:54:54 -0400 Received: from mx20.gnu.org ([199.232.41.8]:33487) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NsZqv-0000Ey-E5 for qemu-devel@nongnu.org; Fri, 19 Mar 2010 06:54:53 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NsZeD-0005DR-Jw for qemu-devel@nongnu.org; Fri, 19 Mar 2010 06:41:45 -0400 Received: by ewy6 with SMTP id 6so1571459ewy.16 for ; Fri, 19 Mar 2010 03:41:42 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 19 Mar 2010 11:35:08 +0100 Message-Id: <1268994909-7107-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1268994909-7107-1-git-send-email-pbonzini@redhat.com> References: <1268994909-7107-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 2/3] move two variable declarations out of vl.c List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Paolo Bonzini --- hw/i8259.c | 1 + hw/isa-bus.c | 1 + vl.c | 6 ------ 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hw/i8259.c b/hw/i8259.c index 3de22e3..37ef04e 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 4d489d2..4e306de 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 f2056f8..fd17795 100644 --- a/vl.c +++ b/vl.c @@ -305,12 +305,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; - -/***********************************************************/ void hw_error(const char *fmt, ...) { va_list ap; -- 1.6.6.1