Changeset 33236 in vbox for trunk/include
- Timestamp:
- Oct 19, 2010 3:14:42 PM (14 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/msi.h
r32951 r33236 109 109 #define VBOX_MSIX_MAX_ENTRIES 32 110 110 #define VBOX_MSIX_ENTRY_SIZE 16 111 /* Size of MSI-X PCI capability */ 112 #define VBOX_MSIX_CAP_SIZE 12 113 /* Offsets in MSI-X PCI capability structure (VBOX_PCI_CAP_ID_MSIX) */ 114 #define VBOX_MSIX_CAP_MESSAGE_CONTROL 0x02 115 #define VBOX_MSIX_TABLE_BIROFFSET 0x04 116 #define VBOX_MSIX_PBA_BIROFFSET 0x08 111 117 112 118 #endif -
trunk/include/VBox/pci.h
r32951 r33236 270 270 271 271 /* MSI-X flags (2 bytes, capability offset 2) */ 272 #define VBOX_PCI_MSIX_FLAGS_ENABLE 0x8000 272 #define VBOX_PCI_MSIX_FLAGS_ENABLE 0x8000 /* MSI-X enable */ 273 #define VBOX_PCI_MSIX_FLAGS_FUNCMASK 0x4000 /* Function mask */ 273 274 274 275 /* Power management flags (2 bytes, capability offset 2) */ -
trunk/include/VBox/pdmdev.h
r32935 r33236 422 422 typedef struct PDMMSIREG 423 423 { 424 /** Number of interrupt vectors*/425 uint16_t c Vectors;424 /** Number of MSI interrupt vectors, 0 if MSI not supported */ 425 uint16_t cMsiVectors; 426 426 /** Offset of MSI capability */ 427 uint8_t i CapOffset;428 /** Offset of next capability */429 uint8_t i NextOffset;430 /** Value to initialize message control register */427 uint8_t iMsiCapOffset; 428 /** Offset of next capability to MSI */ 429 uint8_t iMsiNextOffset; 430 /** Value to initialize MSI message control register */ 431 431 uint16_t iMsiFlags; 432 433 /** Number of MSI-X interrupt vectors, 0 if MSI-X not supported */ 434 uint16_t cMsixVectors; 435 /** Offset of MSI-X capability */ 436 uint8_t iMsixCapOffset; 437 /** Offset of next capability to MSI-X */ 438 uint8_t iMsixNextOffset; 439 /** Value to initialize MSI-X message control register */ 440 uint16_t iMsixFlags; 432 441 } PDMMSIREG; 433 442 typedef PDMMSIREG *PPDMMSIREG;
Note:
See TracChangeset
for help on using the changeset viewer.