diff options
-rw-r--r-- | hw/pci.h | 1 | ||||
-rw-r--r-- | qemu-common.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -70,7 +70,6 @@ #define PCI_DEVICE_ID_VIRTIO_BALLOON 0x1002 #define PCI_DEVICE_ID_VIRTIO_CONSOLE 0x1003 -typedef uint64_t pcibus_t; #define FMT_PCIBUS PRIx64 typedef void PCIConfigWriteFunc(PCIDevice *pci_dev, diff --git a/qemu-common.h b/qemu-common.h index b09f71757a..192991fead 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -225,6 +225,8 @@ typedef struct I2SCodec I2SCodec; typedef struct DeviceState DeviceState; typedef struct SSIBus SSIBus; +typedef uint64_t pcibus_t; + /* CPU save/load. */ void cpu_save(QEMUFile *f, void *opaque); int cpu_load(QEMUFile *f, void *opaque, int version_id); |