diff options
author | zhlcindy@gmail.com <zhlcindy@gmail.com> | 2012-08-06 16:41:59 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-08-15 19:43:14 +0200 |
commit | c1195d1677a41f42be712620674d42b39d83bdfe (patch) | |
tree | c4f9300ab79e5085b997af0607a8b05610b417d0 /hw/alpha_pci.c | |
parent | 7e99826c350f21cb7d162e802efaa5d1b8689ad0 (diff) | |
download | qemu-c1195d1677a41f42be712620674d42b39d83bdfe.tar.gz qemu-c1195d1677a41f42be712620674d42b39d83bdfe.tar.bz2 qemu-c1195d1677a41f42be712620674d42b39d83bdfe.zip |
Add one new file vga-pci.h and cleanup on all platforms
Functions pci_vga_init() and pci_cirrus_vga_init() are declared
in pc.h. That prevents other platforms (e.g. sPAPR) to use them.
This patch is to create one new file vga-pci.h and move the
declarations to vga-pci.h, so that they can be shared by
all platforms. This patch also cleans up on all platforms.
Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/alpha_pci.c')
-rw-r--r-- | hw/alpha_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/alpha_pci.c b/hw/alpha_pci.c index 673557781e..ea546f83f1 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. */ |