Changeset 30835 in vbox
- Timestamp:
- Jul 14, 2010 1:33:41 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/PGMPhys.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r30826 r30835 3277 3277 { 3278 3278 /* 3279 * Check that it's not in any of the TLBs.3280 */3279 * Check that it's not in any of the TLBs. 3280 */ 3281 3281 PVM pVM = ((PPGMR3PHYSCHUNKUNMAPCB)pvUser)->pVM; 3282 3282 for (unsigned i = 0; i < RT_ELEMENTS(pVM->pgm.s.ChunkR3Map.Tlb.aEntries); i++) … … 3299 3299 } 3300 3300 } 3301 3302 3301 return 0; 3303 3302 } … … 3455 3454 */ 3456 3455 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE 3457 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3HeapAlloc (pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk));3456 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3HeapAllocZ(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk)); 3458 3457 #else 3459 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3UkHeapAlloc (pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk), NULL);3458 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3UkHeapAllocZ(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk), NULL); 3460 3459 #endif 3461 3460 AssertReturn(pChunk, VERR_NO_MEMORY); 3462 3461 pChunk->Core.Key = idChunk; 3463 3462 pChunk->AgeCore.Key = pVM->pgm.s.ChunkR3Map.iNow; 3464 pChunk->iAge = 0;3465 pChunk->cRefs = 0;3466 pChunk->cPermRefs = 0;3467 pChunk->pv = NULL;3468 3463 3469 3464 /*
Note:
See TracChangeset
for help on using the changeset viewer.

