Changeset 30231 in vbox
- Timestamp:
- Jun 16, 2010 9:32:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r29646 r30231 3385 3385 if (pVM->pgm.s.ChunkR3Map.c >= pVM->pgm.s.ChunkR3Map.cMax) 3386 3386 Req.idChunkUnmap = pgmR3PhysChunkFindUnmapCandidate(pVM); 3387 /** @todo This is wrong. Any thread in the VM process should be able to do this, 3388 * there are depenenecies on this. What currently saves the day is that 3389 * we don't unmap anything and that all non-zero memory will therefore 3390 * be present when non-EMTs tries to access it. */ 3391 rc = VMMR3CallR0(pVM, VMMR0_DO_GMM_MAP_UNMAP_CHUNK, 0, &Req.Hdr); 3387 3388 /* Must be callable from any thread, so can't use VMMR3CallR0. */ 3389 rc = SUPR3CallVMMR0Ex(pVM->pVMR0, pVCpu->idCpu, VMMR0_DO_GMM_MAP_UNMAP_CHUNK, 0, &Req.Hdr); 3392 3390 if (RT_SUCCESS(rc)) 3393 3391 {
Note:
See TracChangeset
for help on using the changeset viewer.