- Timestamp:
- Oct 21, 2021 3:45:02 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/PGMInternal.h
r91939 r91967 2422 2422 #define PGM_BF_PTWALK_EFF_RSVD_31_23_SHIFT 23 2423 2423 #define PGM_BF_PTWALK_EFF_RSVD_31_23_MASK UINT32_C(0xff800000) 2424 2425 /** The bit count where the EPT specific bits begin. */ 2426 #define PGMPTWALK_EFF_EPT_ATTR_SHIFT PGM_BF_PTWALK_EFF_R_SHIFT 2427 2424 2428 RT_BF_ASSERT_COMPILE_CHECKS(PGM_BF_PTWALK_EFF_, UINT32_C(0), UINT32_MAX, 2425 2429 (X, RW, US, PWT, PCD, A, D, PAT, G, RSVD_11_9, R, W, X_SUPER, RSVD_21_15, X_USER, RSVD_31_23)); … … 2440 2444 AssertCompile(PGM_BF_PTWALK_EFF_PAT_MASK == X86_PTE_PAT); 2441 2445 AssertCompile(PGM_BF_PTWALK_EFF_G_MASK == X86_PTE_G); 2446 AssertCompile(PGM_BF_PTWALK_EFF_R_SHIFT - PGMPTWALK_EFF_EPT_ATTR_SHIFT == EPT_E_BIT_READ); 2447 AssertCompile(PGM_BF_PTWALK_EFF_W_SHIFT - PGMPTWALK_EFF_EPT_ATTR_SHIFT == EPT_E_BIT_WRITE); 2448 AssertCompile(PGM_BF_PTWALK_EFF_X_SUPER_SHIFT - PGMPTWALK_EFF_EPT_ATTR_SHIFT == EPT_E_BIT_EXECUTE); 2449 AssertCompile(PGM_BF_PTWALK_EFF_X_USER_SHIFT - PGMPTWALK_EFF_EPT_ATTR_SHIFT == EPT_E_BIT_USER_EXECUTE); 2442 2450 /** @} */ 2443 2451
Note:
See TracChangeset
for help on using the changeset viewer.