Changeset 72769 in vbox
- Timestamp:
- Jun 29, 2018 11:10:00 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123310
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r72767 r72769 21 21 *********************************************************************************************************************************/ 22 22 #define LOG_GROUP LOG_GROUP_HM 23 #define VMCPU_INCL_CPUM_GST_CTX 23 24 #include <VBox/vmm/hm.h> 24 25 #include <VBox/vmm/pgm.h> … … 1553 1554 #endif 1554 1555 1555 VBOXSTRICTRC rcStrict = g_HmR0.pfnRunGuestCode(pVM, pVCpu, CPUMQueryGuestCtxPtr(pVCpu));1556 VBOXSTRICTRC rcStrict = g_HmR0.pfnRunGuestCode(pVM, pVCpu, &pVCpu->cpum.GstCtx); 1556 1557 1557 1558 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r72749 r72769 1275 1275 { 1276 1276 PVMCPU pVCpu = &pVM->aCpus[iCpu]; 1277 PCPUMCTX pCpuCtx = CPUMQueryGuestCtxPtr(pVCpu);1277 PCPUMCTX pCpuCtx = &pVCpu->cpum.GstCtx; 1278 1278 pCpuCtx->fWorldSwitcher &= ~(CPUMCTX_WSF_IBPB_EXIT | CPUMCTX_WSF_IBPB_ENTRY); 1279 1279 if (pVM->cpum.ro.HostFeatures.fIbpb) … … 1587 1587 pVM->hm.s.vmx.pNonPagingModeEPTPageTable->a[i].u = _4M * i; 1588 1588 pVM->hm.s.vmx.pNonPagingModeEPTPageTable->a[i].u |= X86_PDE4M_P | X86_PDE4M_RW | X86_PDE4M_US 1589 |X86_PDE4M_A | X86_PDE4M_D | X86_PDE4M_PS1590 |X86_PDE4M_G;1589 | X86_PDE4M_A | X86_PDE4M_D | X86_PDE4M_PS 1590 | X86_PDE4M_G; 1591 1591 } 1592 1592 … … 2229 2229 * and make sure there is still room for our patch record. 2230 2230 */ 2231 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu);2231 PCPUMCTX pCtx = &pVCpu->cpum.GstCtx; 2232 2232 PHMTPRPATCH pPatch = (PHMTPRPATCH)RTAvloU32Get(&pVM->hm.s.PatchTree, (AVLOU32KEY)pCtx->eip); 2233 2233 if (pPatch) … … 2405 2405 * and make sure there is still room for our patch record. 2406 2406 */ 2407 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu);2407 PCPUMCTX pCtx = &pVCpu->cpum.GstCtx; 2408 2408 PHMTPRPATCH pPatch = (PHMTPRPATCH)RTAvloU32Get(&pVM->hm.s.PatchTree, (AVLOU32KEY)pCtx->eip); 2409 2409 if (pPatch)
Note:
See TracChangeset
for help on using the changeset viewer.