Changeset 7883 in vbox
- Timestamp:
- Apr 10, 2008 4:06:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r7865 r7883 906 906 PGMDECL(int) PGMFlushTLB(PVM pVM, uint32_t cr3, bool fGlobal) 907 907 { 908 STAM_PROFILE_START(&pVM->pgm.s.StatFlushTLB, a); 909 908 910 /* 909 911 * Always flag the necessary updates; necessary for hardware acceleration … … 912 914 if (fGlobal) 913 915 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 914 915 /*916 * When in real or protected mode there is no TLB flushing, but917 * we may still be called because of REM not caring/knowing this.918 * REM is simple and we wish to keep it that way.919 *920 * Note: We need to execute everything in hwaccm mode otherwise GCPhysCR3 can get out of sync.921 * (VT-x and switching between 32 bits paging & PAE hits this case)922 */923 if ( pVM->pgm.s.enmGuestMode <= PGMMODE_PROTECTED924 && !HWACCMIsEnabled(pVM))925 return VINF_SUCCESS;926 927 916 LogFlow(("PGMFlushTLB: cr3=%#x OldCr3=%#x fGlobal=%d\n", cr3, pVM->pgm.s.GCPhysCR3, fGlobal)); 928 STAM_PROFILE_START(&pVM->pgm.s.StatFlushTLB, a);929 917 930 918 /*
Note:
See TracChangeset
for help on using the changeset viewer.