Revision e4c7d2ae hw/pci.h
b/hw/pci.h | ||
---|---|---|
109 | 109 |
|
110 | 110 |
/* Bits in cap_present field. */ |
111 | 111 |
enum { |
112 |
QEMU_PCI_CAP_MSIX = 0x1, |
|
113 |
QEMU_PCI_CAP_EXPRESS = 0x2, |
|
112 |
QEMU_PCI_CAP_MSI = 0x1, |
|
113 |
QEMU_PCI_CAP_MSIX = 0x2, |
|
114 |
QEMU_PCI_CAP_EXPRESS = 0x4, |
|
114 | 115 |
|
115 | 116 |
/* multifunction capable device */ |
116 |
#define QEMU_PCI_CAP_MULTIFUNCTION_BITNR 2
|
|
117 |
#define QEMU_PCI_CAP_MULTIFUNCTION_BITNR 3
|
|
117 | 118 |
QEMU_PCI_CAP_MULTIFUNCTION = (1 << QEMU_PCI_CAP_MULTIFUNCTION_BITNR), |
118 | 119 |
}; |
119 | 120 |
|
... | ... | |
171 | 172 |
/* Version id needed for VMState */ |
172 | 173 |
int32_t version_id; |
173 | 174 |
|
175 |
/* Offset of MSI capability in config space */ |
|
176 |
uint8_t msi_cap; |
|
177 |
|
|
174 | 178 |
/* Location of option rom */ |
175 | 179 |
char *romfile; |
176 | 180 |
ram_addr_t rom_offset; |
Also available in: Unified diff