diff options
Diffstat (limited to 'hw/pci_internals.h')
-rw-r--r-- | hw/pci_internals.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/pci_internals.h b/hw/pci_internals.h index d704704833..c931b64b46 100644 --- a/hw/pci_internals.h +++ b/hw/pci_internals.h @@ -12,10 +12,13 @@ * Use accessor function in pci.h, pci_bridge.h */ -extern struct BusInfo pci_bus_info; +#define TYPE_PCI_BUS "PCI" +#define PCI_BUS(obj) OBJECT_CHECK(PCIBus, (obj), TYPE_PCI_BUS) struct PCIBus { BusState qbus; + PCIDMAContextFunc dma_context_fn; + void *dma_context_opaque; uint8_t devfn_min; pci_set_irq_fn set_irq; pci_map_irq_fn map_irq; |