From c1195d1677a41f42be712620674d42b39d83bdfe Mon Sep 17 00:00:00 2001 From: "zhlcindy@gmail.com" Date: Mon, 6 Aug 2012 16:41:59 +0000 Subject: 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 Signed-off-by: Alexander Graf --- hw/vga-pci.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hw/vga-pci.h (limited to 'hw/vga-pci.h') diff --git a/hw/vga-pci.h b/hw/vga-pci.h new file mode 100644 index 0000000000..49abf1309d --- /dev/null +++ b/hw/vga-pci.h @@ -0,0 +1,12 @@ +#ifndef VGA_PCI_H +#define VGA_PCI_H + +#include "qemu-common.h" + +/* vga-pci.c */ +DeviceState *pci_vga_init(PCIBus *bus); + +/* cirrus_vga.c */ +DeviceState *pci_cirrus_vga_init(PCIBus *bus); + +#endif -- cgit v1.2.3