提交 14de9bab 编写于 作者: J Jan Kiszka 提交者: Marcelo Tosatti

Introduce MSIMessage structure

Will be used for generating and distributing MSI messages, both in
emulation mode and under KVM.
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
上级 4e2e4e63
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册