VirtualBox

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


Ignore:
Timestamp:
May 19, 2009 3:11:01 PM (16 years ago)
Author:
vboxsync
Message:

Reapplied tlb flushing changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp

    r19825 r19832  
    169169        pVM->pgm.s.fPhysCacheFlushPending = true;
    170170        pgmUnlock(pVM);
    171         HWACCMFlushTLB(VMMGetCpu(pVM));
     171        HWACCMFlushAllTLBs(pVM);
    172172#ifndef IN_RING3
    173173        REMNotifyHandlerPhysicalRegister(pVM, enmType, GCPhys, GCPhysLast - GCPhys + 1, !!pfnHandlerR3);
     
    271271        pgmHandlerPhysicalDeregisterNotifyREM(pVM, pCur);
    272272        pgmUnlock(pVM);
    273         HWACCMFlushTLB(VMMGetCpu(pVM));
     273        HWACCMFlushAllTLBs(pVM);
    274274        MMHyperFree(pVM, pCur);
    275275        return VINF_SUCCESS;
     
    417417        PGM_INVL_GUEST_TLBS(VMMGetCpu0(pVM));
    418418# else
    419     HWACCMFlushTLB(VMMGetCpu(pVM));
     419    HWACCMFlushAllTLBs(pVM);
    420420# endif
    421421    pVM->pgm.s.fPhysCacheFlushPending = true;
     
    553553#endif
    554554                    pgmUnlock(pVM);
    555                     HWACCMFlushTLB(VMMGetCpu(pVM));
     555                    HWACCMFlushAllTLBs(pVM);
    556556                    Log(("PGMHandlerPhysicalModify: GCPhysCurrent=%RGp -> GCPhys=%RGp GCPhysLast=%RGp\n",
    557557                         GCPhysCurrent, GCPhys, GCPhysLast));
     
    848848                    rc = pgmHandlerPhysicalSetRamFlagsAndFlushShadowPTs(pVM, pCur, pRam);
    849849                    pVM->pgm.s.fPhysCacheFlushPending = true;
    850                     HWACCMFlushTLB(VMMGetCpu(pVM));
     850                    HWACCMFlushAllTLBs(pVM);
    851851                }
    852852
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