]> Git Repo - qemu.git/blobdiff - include/hw/pci/pci_bus.h
i.MX: Add GPIO devices to i.MX25 SOC
[qemu.git] / include / hw / pci / pci_bus.h
index fabaeee86b6ab518fa7bfcf57617a766df7e4e81..403fec6e58c0efc7db944460fac4e06229a45187 100644 (file)
@@ -8,6 +8,16 @@
  * use accessor functions in pci.h, pci_bridge.h
  */
 
+typedef struct PCIBusClass {
+    /*< private >*/
+    BusClass parent_class;
+    /*< public >*/
+
+    bool (*is_root)(PCIBus *bus);
+    int (*bus_num)(PCIBus *bus);
+    uint16_t (*numa_node)(PCIBus *bus);
+} PCIBusClass;
+
 struct PCIBus {
     BusState qbus;
     PCIIOMMUFunc iommu_fn;
This page took 0.026559 seconds and 4 git commands to generate.