Changeset 29297 in vbox
- Timestamp:
- May 10, 2010 12:03:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r29296 r29297 2169 2169 } 2170 2170 GMMR3FreePagesCleanup(pReq); 2171 2172 /* Force a PGM pool flush as guest ram references have been changed. */ 2173 /** todo; not entirely SMP safe; assuming for now the guest takes care of this internally (not touch mapped mmio while changing the mapping). */ 2174 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 2175 { 2176 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 2177 2178 pVCpu->pgm.s.fSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL; 2179 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 2180 } 2181 2171 2182 pgmUnlock(pVM); 2172 2183 } … … 2266 2277 pCur->fOverlapping = false; 2267 2278 pCur->fMapped = false; 2279 2280 /* Force a PGM pool flush as guest ram references have been changed. */ 2281 /** todo; not entirely SMP safe; assuming for now the guest takes care of this internally (not touch mapped mmio while changing the mapping). */ 2282 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 2283 { 2284 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 2285 2286 pVCpu->pgm.s.fSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL; 2287 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 2288 } 2268 2289 2269 2290 PGMPhysInvalidatePageMapTLB(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.