VirtualBox

Ignore:
Timestamp:
Jun 8, 2011 3:15:11 PM (14 years ago)
Author:
vboxsync
Message:

VMM/HM: more paranoid poking code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r37323 r37386  
    26632663    AssertRC(rc2);
    26642664
    2665     /** Set TLB flush state as checked until we return from the world switch. */
    2666     ASMAtomicWriteU8(&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);
    26672667    /* Deal with tagged TLB setup and invalidation. */
    26682668    pVM->hwaccm.s.vmx.pfnSetupTaggedTLB(pVM, pVCpu);
     
    27032703    rc = pVCpu->hwaccm.s.vmx.pfnStartVM(pVCpu->hwaccm.s.fResumeVM, pCtx, &pVCpu->hwaccm.s.vmx.VMCSCache, pVM, pVCpu);
    27042704#endif
    2705     ASMAtomicWriteU8(&pVCpu->hwaccm.s.fCheckedTLBFlush, false);
    2706     ASMAtomicIncU32(&pVCpu->hwaccm.s.cWorldSwitchExit);
     2705    ASMAtomicWriteBool(&pVCpu->hwaccm.s.fCheckedTLBFlush, false);
     2706    ASMAtomicIncU32(&pVCpu->hwaccm.s.cWorldSwitchExits);
    27072707    /* Possibly the last TSC value seen by the guest (too high) (only when we're in tsc offset mode). */
    27082708    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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette