Changeset 91993 in vbox
- Timestamp:
- Oct 22, 2021 4:57:15 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r91992 r91993 187 187 Assert(!pVCpu->CTX_SUFF(pVM)->cpum.ro.GuestFeatures.fVmxModeBasedExecuteEpt); 188 188 uint32_t const fEffectiveEpt = ((uint32_t)Pml4e.u & EPT_PML4E_ATTR_MASK) << PGMPTWALK_EFF_EPT_ATTR_SHIFT; 189 uint8_t const fReadWrite = RT_BF_GET(fEffectiveEpt, PGM_BF_PTWALK_EFF_R)190 & RT_BF_GET(fEffectiveEpt, PGM_BF_PTWALK_EFF_W);191 189 uint8_t const fExecute = RT_BF_GET(fEffectiveEpt, PGM_BF_PTWALK_EFF_X_SUPER); 190 uint8_t const fWrite = RT_BF_GET(fEffectiveEpt, PGM_BF_PTWALK_EFF_W); 192 191 uint8_t const fAccessed = RT_BF_GET(fEffectiveEpt, PGM_BF_PTWALK_EFF_A); 193 192 pWalk->Core.fEffective = fEffective = RT_BF_MAKE(PGM_BF_PTWALK_EFF_X, fExecute) 194 | RT_BF_MAKE(PGM_BF_PTWALK_EFF_RW, f ReadWrite)193 | RT_BF_MAKE(PGM_BF_PTWALK_EFF_RW, fWrite) 195 194 | RT_BF_MAKE(PGM_BF_PTWALK_EFF_US, 1) 196 195 | RT_BF_MAKE(PGM_BF_PTWALK_EFF_A, fAccessed)
Note:
See TracChangeset
for help on using the changeset viewer.

