1 #ifndef QEMU_PCI_INTERNALS_H
2 #define QEMU_PCI_INTERNALS_H
5 * This header files is private to pci.c and pci_bridge.c
6 * So following structures are opaque to others and shouldn't be
10 extern struct BusInfo pci_bus_info
;
15 pci_set_irq_fn set_irq
;
16 pci_map_irq_fn map_irq
;
17 pci_hotplug_fn hotplug
;
18 DeviceState
*hotplug_qdev
;
20 PCIDevice
*devices
[256];
21 PCIDevice
*parent_dev
;
22 target_phys_addr_t mem_base
;
24 QLIST_HEAD(, PCIBus
) child
; /* this will be replaced by qdev later */
25 QLIST_ENTRY(PCIBus
) sibling
;/* this will be replaced by qdev later */
27 /* The bus IRQ state is the logical OR of the connected devices.
28 Keep a count of the number of devices with raised IRQs. */
40 #endif /* QEMU_PCI_INTERNALS_H */