VirtualBox

Changeset 22756 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 3, 2009 4:12:44 PM (15 years ago)
Author:
vboxsync
Message:

TLB flush changes (use the generic macro)

File:
1 edited

Legend:

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

    r22600 r22756  
    168168            rc = VINF_PGM_GCPHYS_ALIASED;
    169169        pgmUnlock(pVM);
    170         HWACCMFlushTLBOnAllVCpus(pVM);
     170        PGM_INVL_ALL_VCPU_TLBS(pVM);
    171171#ifndef IN_RING3
    172172        REMNotifyHandlerPhysicalRegister(pVM, enmType, GCPhys, GCPhysLast - GCPhys + 1, !!pfnHandlerR3);
     
    273273        MMHyperFree(pVM, pCur);
    274274        pgmUnlock(pVM);
    275         HWACCMFlushTLBOnAllVCpus(pVM);
     275        PGM_INVL_ALL_VCPU_TLBS(pVM);
    276276        return VINF_SUCCESS;
    277277    }
     
    556556                                                     GCPhysLast, fHasHCHandler, fRestoreAsRAM);
    557557#endif
    558                     HWACCMFlushTLBOnAllVCpus(pVM);
     558                    PGM_INVL_ALL_VCPU_TLBS(pVM);
    559559                    Log(("PGMHandlerPhysicalModify: GCPhysCurrent=%RGp -> GCPhys=%RGp GCPhysLast=%RGp\n",
    560560                         GCPhysCurrent, GCPhys, GCPhysLast));
     
    851851                     */
    852852                    rc = pgmHandlerPhysicalSetRamFlagsAndFlushShadowPTs(pVM, pCur, pRam);
    853                     HWACCMFlushTLBOnAllVCpus(pVM);
     853                    PGM_INVL_ALL_VCPU_TLBS(pVM);
    854854                }
    855855
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