Changeset 71772 in vbox for trunk/src/VBox
- Timestamp:
- Apr 9, 2018 2:27:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/MsixCommon.cpp
r71771 r71772 130 130 ("MSI-X must be accessed with 4-byte reads"), 131 131 VERR_INTERNAL_ERROR); 132 AssertMsgReturn(off <pPciDev->Int.s.cbMsixRegion,132 AssertMsgReturn(off + cb <= pPciDev->Int.s.cbMsixRegion, 133 133 ("Out of bounds access for the MSI-X region\n"), 134 134 VINF_IOM_MMIO_UNUSED_FF); … … 149 149 ("MSI-X must be accessed with 4-byte reads"), 150 150 VERR_INTERNAL_ERROR); 151 AssertMsgReturn(off < pPciDev->Int.s.offMsixPba, 152 ("Trying to write to PBA\n"), 153 VINF_IOM_MMIO_UNUSED_FF); 151 AssertMsgReturn(off + cb <= pPciDev->Int.s.offMsixPba, 152 ("Trying to write to PBA\n"), VINF_SUCCESS); 154 153 155 154 *(uint32_t *)msixGetPageOffset(pPciDev, off) = *(uint32_t *)pv;
Note:
See TracChangeset
for help on using the changeset viewer.