]> git.proxmox.com Git - qemu.git/commitdiff
Introduce MSIMessage structure
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 16 May 2012 18:41:09 +0000 (15:41 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 May 2012 21:04:44 +0000 (18:04 -0300)
Will be used for generating and distributing MSI messages, both in
emulation mode and under KVM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/msi.h
qemu-common.h

index 3040bb0b43f5c461daa27c869cdb94915efa3e3b..75747abc25d9256712446b2fca0892b021357024 100644 (file)
--- a/hw/msi.h
+++ b/hw/msi.h
 #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);
index 50f659af07baed7333f5a2ee03001e7ebe82497f..57fe28fd9a1113fd5b6cf8c817ee071f43ebde6a 100644 (file)
@@ -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;