Changeset 19860 in vbox
- Timestamp:
- May 20, 2009 11:55:12 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
-
PGMInternal.h (modified) (1 diff)
-
VMMAll/PGMAllPhys.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r19834 r19860 361 361 #else 362 362 # define PGM_INVL_VCPU_TLBS(pVCpu) HWACCMFlushTLB(pVCpu) 363 #endif 364 365 /** @def PGM_INVL_ALL_VCPU_TLBS() 366 * Invalidates the TLBs of all VCPUs 367 */ 368 #ifdef IN_RC 369 # define PGM_INVL_ALL_VCPU_TLBS(pVM) ASMReloadCR3() 370 #elif defined(IN_RING0) 371 # define PGM_INVL_ALL_VCPU_TLBS(pVM) HWACCMFlushAllTLBs(pVM) 372 #else 373 # define PGM_INVL_ALL_VCPU_TLBS(pVM) HWACCMFlushAllTLBs(pVM) 363 374 #endif 364 375 -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r19833 r19860 344 344 int pgmPhysAllocPage(PVM pVM, PPGMPAGE pPage, RTGCPHYS GCPhys) 345 345 { 346 PVMCPU pVCpu = VMMGetCpu(pVM);347 346 LogFlow(("pgmPhysAllocPage: %R[pgmpage] %RGp\n", pPage, GCPhys)); 348 347 … … 370 369 { 371 370 if (fFlushTLBs) 372 PGM_INVL_ VCPU_TLBS(pVCpu);371 PGM_INVL_ALL_VCPU_TLBS(pVM); 373 372 Assert(rc2 == VERR_EM_NO_MEMORY); 374 373 return rc2; … … 425 424 if ( fFlushTLBs 426 425 && rc != VINF_PGM_GCPHYS_ALIASED) 427 PGM_INVL_ VCPU_TLBS(pVCpu);426 PGM_INVL_ALL_VCPU_TLBS(pVM); 428 427 return rc; 429 428 }
Note:
See TracChangeset
for help on using the changeset viewer.

