Changeset 72874 in vbox
- Timestamp:
- Jul 4, 2018 1:42:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r72872 r72874 3597 3597 AssertRCReturn(rc, rc); 3598 3598 3599 /* Update the exit history entry with the correct CS.BASE + RIP or just RIP. */3600 if (ASMAtomicUoReadU64(&pVCpu->hm.s.fCtxChanged) & HM_CHANGED_GUEST_CS)3601 EMR0HistoryUpdatePC(pVCpu, pMixedCtx->cs.u64Base + pMixedCtx->rip, true);3602 else3603 EMR0HistoryUpdatePC(pVCpu, pMixedCtx->rip, false);3604 3605 3599 ASMAtomicUoAndU64(&pVCpu->hm.s.fCtxChanged, ~HM_CHANGED_GUEST_RIP); 3606 3600 Log4Func(("RIP=%#RX64\n", pMixedCtx->rip)); … … 6168 6162 { 6169 6163 pCtx->rip = u64Val; 6164 EMR0HistoryUpdatePC(pVCpu, pCtx->rip, false); 6170 6165 pCtx->fExtrn &= ~CPUMCTX_EXTRN_RIP; 6171 6166 } … … 6335 6330 if (fWhat & CPUMCTX_EXTRN_CS) 6336 6331 { 6337 rc = HMVMX_IMPORT_SREG(CS, &pCtx->cs); 6332 rc = HMVMX_IMPORT_SREG(CS, &pCtx->cs); 6333 rc |= hmR0VmxImportGuestRip(pVCpu); 6338 6334 VMXLOCAL_BREAK_RC(rc); 6339 6335 if (pVCpu->hm.s.vmx.RealMode.fRealOnV86Active) 6340 6336 pCtx->cs.Attr.u = pVCpu->hm.s.vmx.RealMode.AttrCS.u; 6337 EMR0HistoryUpdatePC(pVCpu, pCtx->cs.u64Base + pCtx->rip, true); 6341 6338 } 6342 6339 if (fWhat & CPUMCTX_EXTRN_SS)
Note:
See TracChangeset
for help on using the changeset viewer.