Changeset 78224 in vbox for trunk/src/VBox
- Timestamp:
- Apr 20, 2019 4:37:06 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r78223 r78224 3724 3724 NOREF(fResume); 3725 3725 3726 PVMXVMCSINFO pVmcsInfo = hmGetVmxActiveVmcsInfo(pVCpu); 3726 3727 PCHMPHYSCPU pHostCpu = hmR0GetCurrentCpu(); 3727 3728 RTHCPHYS const HCPhysCpuPage = pHostCpu->HCPhysMemObj; … … 3748 3749 aParam[0] = RT_LO_U32(HCPhysCpuPage); /* Param 1: VMXON physical address - Lo. */ 3749 3750 aParam[1] = RT_HI_U32(HCPhysCpuPage); /* Param 1: VMXON physical address - Hi. */ 3750 aParam[2] = RT_LO_U32(pV Cpu->hm.s.vmx.HCPhysVmcs);/* Param 2: VMCS physical address - Lo. */3751 aParam[3] = RT_HI_U32(pV Cpu->hm.s.vmx.HCPhysVmcs);/* Param 2: VMCS physical address - Hi. */3751 aParam[2] = RT_LO_U32(pVmcsInfo->HCPhysVmcs); /* Param 2: VMCS physical address - Lo. */ 3752 aParam[3] = RT_HI_U32(pVmcsInfo->HCPhysVmcs); /* Param 2: VMCS physical address - Hi. */ 3752 3753 aParam[4] = VM_RC_ADDR(pVM, &pVM->aCpus[pVCpu->idCpu].hm.s.vmx.VmcsCache); 3753 3754 aParam[5] = 0; … … 3771 3772 #if defined(DEBUG) && defined(VMX_USE_CACHED_VMCS_ACCESSES) 3772 3773 AssertMsg(pCache->TestIn.HCPhysCpuPage == HCPhysCpuPage, ("%RHp vs %RHp\n", pCache->TestIn.HCPhysCpuPage, HCPhysCpuPage)); 3773 AssertMsg(pCache->TestIn.HCPhysVmcs == pVCpu->hm.s.vmx.HCPhysVmcs,("%RHp vs %RHp\n", pCache->TestIn.HCPhysVmcs,3774 pVCpu->hm.s.vmx.HCPhysVmcs));3775 AssertMsg(pCache->TestIn.HCPhysVmcs 3776 3777 AssertMsg(pCache->TestIn.pCache == pCache->TestOut.pCache,("%RGv vs %RGv\n", pCache->TestIn.pCache,3778 pCache->TestOut.pCache));3779 AssertMsg(pCache->TestIn.pCache 3774 AssertMsg(pCache->TestIn.HCPhysVmcs == pVmcsInfo->HCPhysVmcs, ("%RHp vs %RHp\n", pCache->TestIn.HCPhysVmcs, 3775 pVmcsInfo->HCPhysVmcs)); 3776 AssertMsg(pCache->TestIn.HCPhysVmcs == pCache->TestOut.HCPhysVmcs, ("%RHp vs %RHp\n", pCache->TestIn.HCPhysVmcs, 3777 pCache->TestOut.HCPhysVmcs)); 3778 AssertMsg(pCache->TestIn.pCache == pCache->TestOut.pCache, ("%RGv vs %RGv\n", pCache->TestIn.pCache, 3779 pCache->TestOut.pCache)); 3780 AssertMsg(pCache->TestIn.pCache == VM_RC_ADDR(pVM, &pVM->aCpus[pVCpu->idCpu].hm.s.vmx.VmcsCache), 3780 3781 ("%RGv vs %RGv\n", pCache->TestIn.pCache, VM_RC_ADDR(pVM, &pVM->aCpus[pVCpu->idCpu].hm.s.vmx.VmcsCache))); 3781 AssertMsg(pCache->TestIn.pCtx == pCache->TestOut.pCtx,("%RGv vs %RGv\n", pCache->TestIn.pCtx,3782 pCache->TestOut.pCtx));3782 AssertMsg(pCache->TestIn.pCtx == pCache->TestOut.pCtx, ("%RGv vs %RGv\n", pCache->TestIn.pCtx, 3783 pCache->TestOut.pCtx)); 3783 3784 Assert(!(pCache->TestOut.eflags & X86_EFL_IF)); 3784 3785 #endif
Note:
See TracChangeset
for help on using the changeset viewer.