Changeset 64393 in vbox for trunk/src/VBox/Devices/Bus/MsixCommon.cpp
- Timestamp:
- Oct 24, 2016 2:42:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/MsixCommon.cpp
r64390 r64393 310 310 { 311 311 /* don't change read-only bits 8-13 */ 312 u8NewVal = (u8Val & UINT8_C(~0x3f)) | (pDev-> config[uAddr] & UINT8_C(0x3f));312 u8NewVal = (u8Val & UINT8_C(~0x3f)) | (pDev->abConfig[uAddr] & UINT8_C(0x3f)); 313 313 /* If just enabled globally - check pending vectors */ 314 fJustEnabled |= msixBitJustCleared(pDev-> config[uAddr], u8NewVal, VBOX_PCI_MSIX_FLAGS_ENABLE >> 8);315 fJustEnabled |= msixBitJustCleared(pDev-> config[uAddr], u8NewVal, VBOX_PCI_MSIX_FLAGS_FUNCMASK >> 8);316 pDev-> config[uAddr] = u8NewVal;314 fJustEnabled |= msixBitJustCleared(pDev->abConfig[uAddr], u8NewVal, VBOX_PCI_MSIX_FLAGS_ENABLE >> 8); 315 fJustEnabled |= msixBitJustCleared(pDev->abConfig[uAddr], u8NewVal, VBOX_PCI_MSIX_FLAGS_FUNCMASK >> 8); 316 pDev->abConfig[uAddr] = u8NewVal; 317 317 break; 318 318 }
Note:
See TracChangeset
for help on using the changeset viewer.