Add one new file vga-pci.h and cleanup on all platforms
authorzhlcindy@gmail.com <zhlcindy@gmail.com>
Mon, 6 Aug 2012 16:41:59 +0000 (16:41 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 15 Aug 2012 17:43:14 +0000 (19:43 +0200)
commitc1195d1677a41f42be712620674d42b39d83bdfe
treec4f9300ab79e5085b997af0607a8b05610b417d0
parent7e99826c350f21cb7d162e802efaa5d1b8689ad0
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>
hw/alpha_pci.c
hw/cirrus_vga.c
hw/mips_malta.c
hw/pc.c
hw/pc.h
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/sun4u.c
hw/vga-pci.c
hw/vga-pci.h [new file with mode: 0644]