VirtualBox

Changeset 21568 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 14, 2009 10:12:14 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50050
Message:

Cleaned up tlb flush signalling

File:
1 edited

Legend:

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

    r21567 r21568  
    27792779        /* If we get a flush in 64 bits guest mode, then force a full TLB flush. Invlpga takes only 32 bits addresses. */
    27802780        if (CPUMIsGuestInLongMode(pVCpu))
    2781             pVCpu->hwaccm.s.fForceTLBFlush = true;
     2781            VMCPU_FF_SET(pVCpu, VMCPU_FF_TLB_FLUSH);
    27822782        else
    27832783#endif
     
    28012801    Assert(pVM->hwaccm.s.fNestedPaging);
    28022802    /* invlpga only invalidates TLB entries for guest virtual addresses; we have no choice but to force a TLB flush here. */
    2803     pVCpu->hwaccm.s.fForceTLBFlush = true;
     2803    VMCPU_FF_ISSET(pVCpu, VMCPU_FF_TLB_FLUSH);
    28042804    STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatFlushTLBInvlpga);
    28052805    return VINF_SUCCESS;
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