diff options
Diffstat (limited to 'hw/pcie_host.h')
-rw-r--r-- | hw/pcie_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pcie_host.h b/hw/pcie_host.h index 73e88db..3921935 100644 --- a/hw/pcie_host.h +++ b/hw/pcie_host.h @@ -24,6 +24,10 @@ #include "pci_host.h" #include "memory.h" +#define TYPE_PCIE_HOST_BRIDGE "pcie-host-bridge" +#define PCIE_HOST_BRIDGE(obj) \ + OBJECT_CHECK(PCIExpressHost, (obj), TYPE_PCIE_HOST_BRIDGE) + struct PCIExpressHost { PCIHostState pci; |