- Timestamp:
- Jan 10, 2024 3:52:33 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r102804 r102805 3369 3369 if (pMtrrMap->idxMtrr < pMtrrMap->cMtrrs) 3370 3370 { 3371 /* 3372 * We must ensure the physical-address does not exceed the maximum guest-physical address width. 3373 * Otherwise, the MTRR physical mask computation gets totally busted rather than returning 0 to 3374 * indicate such mapping is impossible. 3375 */ 3371 3376 RTGCPHYS const GCPhysLastMax = RT_BIT_64(pVM->cpum.s.GuestFeatures.cMaxPhysAddrWidth) - 1U; 3372 3377 if (GCPhysLast <= GCPhysLastMax)
Note:
See TracChangeset
for help on using the changeset viewer.