Changeset 37386 in vbox for trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
- Timestamp:
- Jun 8, 2011 3:15:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r37323 r37386 2663 2663 AssertRC(rc2); 2664 2664 2665 /* *Set TLB flush state as checked until we return from the world switch. */2666 ASMAtomicWrite U8(&pVCpu->hwaccm.s.fCheckedTLBFlush, true);2665 /* Set TLB flush state as checked until we return from the world switch. */ 2666 ASMAtomicWriteBool(&pVCpu->hwaccm.s.fCheckedTLBFlush, true); 2667 2667 /* Deal with tagged TLB setup and invalidation. */ 2668 2668 pVM->hwaccm.s.vmx.pfnSetupTaggedTLB(pVM, pVCpu); … … 2703 2703 rc = pVCpu->hwaccm.s.vmx.pfnStartVM(pVCpu->hwaccm.s.fResumeVM, pCtx, &pVCpu->hwaccm.s.vmx.VMCSCache, pVM, pVCpu); 2704 2704 #endif 2705 ASMAtomicWrite U8(&pVCpu->hwaccm.s.fCheckedTLBFlush, false);2706 ASMAtomicIncU32(&pVCpu->hwaccm.s.cWorldSwitchExit );2705 ASMAtomicWriteBool(&pVCpu->hwaccm.s.fCheckedTLBFlush, false); 2706 ASMAtomicIncU32(&pVCpu->hwaccm.s.cWorldSwitchExits); 2707 2707 /* Possibly the last TSC value seen by the guest (too high) (only when we're in tsc offset mode). */ 2708 2708 if (!(pVCpu->hwaccm.s.vmx.proc_ctls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT))
Note:
See TracChangeset
for help on using the changeset viewer.