diff options
-rw-r--r-- | hw/msi.h | 5 | ||||
-rw-r--r-- | qemu-common.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -24,6 +24,11 @@ #include "qemu-common.h" #include "pci.h" +struct MSIMessage { + uint64_t address; + uint32_t data; +}; + extern bool msi_supported; bool msi_enabled(const PCIDevice *dev); diff --git a/qemu-common.h b/qemu-common.h index 50f659af07..57fe28fd9a 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -248,6 +248,7 @@ typedef struct PCIEAERLog PCIEAERLog; typedef struct PCIEAERErr PCIEAERErr; typedef struct PCIEPort PCIEPort; typedef struct PCIESlot PCIESlot; +typedef struct MSIMessage MSIMessage; typedef struct SerialState SerialState; typedef struct IRQState *qemu_irq; typedef struct PCMCIACardState PCMCIACardState; |