Changeset 91971 in vbox
- Timestamp:
- Oct 21, 2021 3:58:30 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
include/VBox/vmm/hm_vmx.h (modified) (1 diff)
-
src/VBox/VMM/VMMAll/HMVMXAll.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h (modified) (5 diffs)
-
src/VBox/VMM/VMMR3/CPUM.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r91965 r91971 3851 3851 RTUINT64U u64AddrPostedIntDesc; /**< 0x2b0 - Posted-interrupt descriptor address. */ 3852 3852 RTUINT64U u64VmFuncCtls; /**< 0x2b8 - VM-functions control. */ 3853 RTUINT64U u64Ept pPtr; /**< 0x2c0 - EPTPpointer. */3853 RTUINT64U u64EptPtr; /**< 0x2c0 - EPT pointer. */ 3854 3854 RTUINT64U u64EoiExitBitmap0; /**< 0x2c8 - EOI-exit bitmap 0. */ 3855 3855 RTUINT64U u64EoiExitBitmap1; /**< 0x2d0 - EOI-exit bitmap 1. */ -
trunk/src/VBox/VMM/VMMAll/HMVMXAll.cpp
r91580 r91971 926 926 LogRel((" %sPosted-intr desc addr = %#RX64\n", pszPrefix, pVmcs->u64AddrPostedIntDesc.u)); 927 927 LogRel((" %sVM-functions control = %#RX64\n", pszPrefix, pVmcs->u64VmFuncCtls.u)); 928 LogRel((" %sEPTP ptr = %#RX64\n", pszPrefix, pVmcs->u64Ept pPtr.u));928 LogRel((" %sEPTP ptr = %#RX64\n", pszPrefix, pVmcs->u64EptPtr.u)); 929 929 LogRel((" %sEOI-exit bitmap 0 = %#RX64\n", pszPrefix, pVmcs->u64EoiExitBitmap0.u)); 930 930 LogRel((" %sEOI-exit bitmap 1 = %#RX64\n", pszPrefix, pVmcs->u64EoiExitBitmap1.u)); -
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r91580 r91971 254 254 /* 11 */ RT_UOFFSETOF(VMXVVMCS, u64AddrPostedIntDesc), 255 255 /* 12 */ RT_UOFFSETOF(VMXVVMCS, u64VmFuncCtls), 256 /* 13 */ RT_UOFFSETOF(VMXVVMCS, u64Ept pPtr),256 /* 13 */ RT_UOFFSETOF(VMXVVMCS, u64EptPtr), 257 257 /* 14 */ RT_UOFFSETOF(VMXVVMCS, u64EoiExitBitmap0), 258 258 /* 15 */ RT_UOFFSETOF(VMXVVMCS, u64EoiExitBitmap1), … … 6100 6100 uint8_t const cMaxPhysAddrWidth = IEM_GET_GUEST_CPU_FEATURES(pVCpu)->cMaxPhysAddrWidth; 6101 6101 uint64_t const fValidMask = VMX_EPTP_VALID_MASK & ~(UINT64_MAX << cMaxPhysAddrWidth); 6102 if (pVmcs->u64Ept pPtr.u & fValidMask)6102 if (pVmcs->u64EptPtr.u & fValidMask) 6103 6103 { /* likely */ } 6104 6104 else … … 6107 6107 /* Memory Type. */ 6108 6108 uint64_t const fCaps = pVCpu->cpum.GstCtx.hwvirt.vmx.Msrs.u64EptVpidCaps; 6109 uint8_t const fMemType = RT_BF_GET(pVmcs->u64Ept pPtr.u, VMX_BF_EPTP_MEMTYPE);6109 uint8_t const fMemType = RT_BF_GET(pVmcs->u64EptPtr.u, VMX_BF_EPTP_MEMTYPE); 6110 6110 if ( ( fMemType == VMX_EPTP_MEMTYPE_WB 6111 6111 && RT_BF_GET(fCaps, VMX_BF_EPT_VPID_CAP_MEMTYPE_WB)) … … 6123 6123 */ 6124 6124 Assert(RT_BF_GET(fCaps, VMX_BF_EPT_VPID_CAP_PAGE_WALK_LENGTH_4)); 6125 if (RT_BF_GET(pVmcs->u64Ept pPtr.u, VMX_BF_EPTP_PAGE_WALK_LENGTH) == 3)6125 if (RT_BF_GET(pVmcs->u64EptPtr.u, VMX_BF_EPTP_PAGE_WALK_LENGTH) == 3) 6126 6126 { /* likely */ } 6127 6127 else … … 6129 6129 6130 6130 /* Access and dirty bits support in EPT structures. */ 6131 if ( !RT_BF_GET(pVmcs->u64Ept pPtr.u, VMX_BF_EPTP_ACCESS_DIRTY)6131 if ( !RT_BF_GET(pVmcs->u64EptPtr.u, VMX_BF_EPTP_ACCESS_DIRTY) 6132 6132 || RT_BF_GET(fCaps, VMX_BF_EPT_VPID_CAP_ACCESS_DIRTY)) 6133 6133 { /* likely */ } -
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r91710 r91971 397 397 SSMFIELD_ENTRY( VMXVVMCS, u64AddrPostedIntDesc), 398 398 SSMFIELD_ENTRY( VMXVVMCS, u64VmFuncCtls), 399 SSMFIELD_ENTRY( VMXVVMCS, u64Ept pPtr),399 SSMFIELD_ENTRY( VMXVVMCS, u64EptPtr), 400 400 SSMFIELD_ENTRY( VMXVVMCS, u64EoiExitBitmap0), 401 401 SSMFIELD_ENTRY( VMXVVMCS, u64EoiExitBitmap1), … … 3677 3677 pHlp->pfnPrintf(pHlp, " %sPosted-intr desc addr = %#RX64\n", pszPrefix, pVmcs->u64AddrPostedIntDesc.u); 3678 3678 pHlp->pfnPrintf(pHlp, " %sVM-functions control = %#RX64\n", pszPrefix, pVmcs->u64VmFuncCtls.u); 3679 pHlp->pfnPrintf(pHlp, " %sEPTP ptr = %#RX64\n", pszPrefix, pVmcs->u64Ept pPtr.u);3679 pHlp->pfnPrintf(pHlp, " %sEPTP ptr = %#RX64\n", pszPrefix, pVmcs->u64EptPtr.u); 3680 3680 pHlp->pfnPrintf(pHlp, " %sEOI-exit bitmap 0 = %#RX64\n", pszPrefix, pVmcs->u64EoiExitBitmap0.u); 3681 3681 pHlp->pfnPrintf(pHlp, " %sEOI-exit bitmap 1 = %#RX64\n", pszPrefix, pVmcs->u64EoiExitBitmap1.u);
Note:
See TracChangeset
for help on using the changeset viewer.

