Changeset 20140 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 29, 2009 9:50:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r20136 r20140 2685 2685 int pgmPoolTrackFlushGCPhys(PVM pVM, PPGMPAGE pPhysPage, bool *pfFlushTLBs) 2686 2686 { 2687 PVMCPU pVCpu = VMMGetCpu(pVM); 2687 2688 pgmLock(pVM); 2688 2689 int rc = VINF_SUCCESS; … … 2704 2705 /* Start a subset here because pgmPoolTrackFlushGCPhysPTsSlow and 2705 2706 pgmPoolTrackFlushGCPhysPTs will/may kill the pool otherwise. */ 2706 PVMCPU pVCpu = VMMGetCpu(pVM);2707 2707 uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu); 2708 2708 # endif … … 2732 2732 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 2733 2733 /* Start a subset here because pgmPoolTrackFlushGCPhysPTsSlow kill the pool otherwise. */ 2734 PVMCPU pVCpu = VMMGetCpu(pVM);2735 2734 uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu); 2736 2735 # endif … … 2751 2750 { 2752 2751 pVM->pgm.s.fGlobalSyncFlags |= PGM_GLOBAL_SYNC_CLEAR_PGM_POOL; 2753 for (unsigned i=0;i<pVM->cCPUs;i++) 2754 { 2755 PVMCPU pVCpu = &pVM->aCpus[i]; 2756 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 2757 } 2752 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 2758 2753 rc = VINF_PGM_SYNC_CR3; 2759 2754 }
Note:
See TracChangeset
for help on using the changeset viewer.