diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-11-11 14:59:56 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2009-12-01 17:51:04 +0200 |
commit | e710c1fc21db5a828772a9238d0bf3ef94d6bade (patch) | |
tree | 20c52dd76d8cc3c96c1f9d28b8d22d922bd9b166 /hw/pci.h | |
parent | 7051577c00d2d62bcda53142d5e71e4e0973d66c (diff) | |
download | qemu-e710c1fc21db5a828772a9238d0bf3ef94d6bade.tar.gz qemu-e710c1fc21db5a828772a9238d0bf3ef94d6bade.tar.bz2 qemu-e710c1fc21db5a828772a9238d0bf3ef94d6bade.zip |
pci: pci.h cleanup: move out stuff not in pci.c
pci.h declares some functions which aren't
defined in pci.h. Clean up moving things
to appropriate headers, and update all users.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -413,31 +413,6 @@ static inline uint32_t pci_config_size(PCIDevice *d) return pci_is_express(d) ? PCIE_CONFIG_SPACE_SIZE : PCI_CONFIG_SPACE_SIZE; } -/* lsi53c895a.c */ -#define LSI_MAX_DEVS 7 - -/* vmware_vga.c */ -void pci_vmsvga_init(PCIBus *bus); - -/* usb-uhci.c */ -void usb_uhci_piix3_init(PCIBus *bus, int devfn); -void usb_uhci_piix4_init(PCIBus *bus, int devfn); - -/* usb-ohci.c */ -void usb_ohci_init_pci(struct PCIBus *bus, int devfn); - -/* prep_pci.c */ -PCIBus *pci_prep_init(qemu_irq *pic); - -/* apb_pci.c */ -PCIBus *pci_apb_init(target_phys_addr_t special_base, - target_phys_addr_t mem_base, - qemu_irq *pic, PCIBus **bus2, PCIBus **bus3); - -/* sh_pci.c */ -PCIBus *sh_pci_register_bus(pci_set_irq_fn set_irq, pci_map_irq_fn map_irq, - void *pic, int devfn_min, int nirq); - /* These are not pci specific. Should move into a separate header. * Only pci.c uses them, so keep them here for now. */ |