qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel][PATCH v4 3/4] Cleanup pc.h on other platform


From: Li Zhang
Subject: Re: [Qemu-ppc] [Qemu-devel][PATCH v4 3/4] Cleanup pc.h on other platforms
Date: Fri, 29 Jun 2012 17:03:59 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

Correct mailing list address.

On 06/29/2012 04:27 PM, Li Zhang wrote:
From: Li Zhang <address@hidden>

Now that the declearations of pci_vga_init() and pci_cirrus_vga_init()
are moved to vga-pci.h. So it's necessary to cleanup pc.h on the
platforms which include the file and add vga-pci.h.

This patch is to cleanup pc.h and add vga-pci.h.

Signed-off-by: Li Zhang <address@hidden>
---
  hw/alpha_pci.c    |    1 +
  hw/mips_malta.c   |    1 +
  hw/pc.c           |    1 +
  hw/ppc_newworld.c |    2 +-
  hw/ppc_oldworld.c |    2 +-
  hw/ppc_prep.c     |    1 +
  hw/sun4u.c        |    1 +
  7 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/hw/alpha_pci.c b/hw/alpha_pci.c
index 6735577..ea546f8 100644
--- a/hw/alpha_pci.c
+++ b/hw/alpha_pci.c
@@ -11,6 +11,7 @@
  #include "qemu-log.h"
  #include "sysemu.h"
  #include "vmware_vga.h"
+#include "vga-pci.h"


  /* PCI IO reads/writes, to byte-word addressable memory.  */
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 351c88e..ad23f26 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -48,6 +48,7 @@
  #include "blockdev.h"
  #include "exec-memory.h"
  #include "sysbus.h"             /* SysBusDevice */
+#include "vga-pci.h"

  //#define DEBUG_BOARD_INIT

diff --git a/hw/pc.c b/hw/pc.c
index c7e9ab3..f43e817 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -48,6 +48,7 @@
  #include "memory.h"
  #include "exec-memory.h"
  #include "arch_init.h"
+#include "vga-pci.h"

  /* output Bochs bios info messages */
  //#define DEBUG_BIOS
diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c
index 4e2a6e6..e95cfe8 100644
--- a/hw/ppc_newworld.c
+++ b/hw/ppc_newworld.c
@@ -52,7 +52,6 @@
  #include "adb.h"
  #include "mac_dbdma.h"
  #include "nvram.h"
-#include "pc.h"
  #include "pci.h"
  #include "net.h"
  #include "sysemu.h"
@@ -68,6 +67,7 @@
  #include "hw/usb.h"
  #include "blockdev.h"
  #include "exec-memory.h"
+#include "vga-pci.h"

  #define MAX_IDE_BUS 2
  #define CFG_ADDR 0xf0000510
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index f2c6908..1dcd8a6 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -29,7 +29,6 @@
  #include "adb.h"
  #include "mac_dbdma.h"
  #include "nvram.h"
-#include "pc.h"
  #include "sysemu.h"
  #include "net.h"
  #include "isa.h"
@@ -44,6 +43,7 @@
  #include "kvm_ppc.h"
  #include "blockdev.h"
  #include "exec-memory.h"
+#include "vga-pci.h"

  #define MAX_IDE_BUS 2
  #define CFG_ADDR 0xf0000510
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index be2b268..7a87616 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -39,6 +39,7 @@
  #include "blockdev.h"
  #include "arch_init.h"
  #include "exec-memory.h"
+#include "vga-pci.h"

  //#define HARD_DEBUG_PPC_IO
  //#define DEBUG_PPC_IO
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 137a7c6..07cd042 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -39,6 +39,7 @@
  #include "elf.h"
  #include "blockdev.h"
  #include "exec-memory.h"
+#include "vga-pci.h"

  //#define DEBUG_IRQ
  //#define DEBUG_EBUS



--
Best Regards
Li

IBM LTC, China System&Technology Lab, Beijing





reply via email to

[Prev in Thread] Current Thread [Next in Thread]