qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 2/3] move two variable declarations out of vl.c
Date: Fri, 19 Mar 2010 11:35:08 +0100	[thread overview]
Message-ID: <1268994909-7107-3-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1268994909-7107-1-git-send-email-pbonzini@redhat.com>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 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

  parent reply	other threads:[~2010-03-19 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 10:35 [Qemu-devel] [PATCH 0/3] more vl.c/monitor.c splits Paolo Bonzini
2010-03-19 10:35 ` [Qemu-devel] [PATCH 1/3] move socket_init to qemu-sockets.c Paolo Bonzini
2010-03-19 10:35 ` Paolo Bonzini [this message]
2010-03-19 10:35 ` [Qemu-devel] [PATCH 3/3] move balloon handling to balloon.c Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2010-03-31 14:56 [Qemu-devel] [PATCH rebased 0/3] move stuff out of vl.c Paolo Bonzini
2010-03-31 14:56 ` [Qemu-devel] [PATCH 2/3] move two variable declarations " Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1268994909-7107-3-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).