- Timestamp:
- Mar 24, 2009 7:15:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r18212 r18218 1319 1319 unsigned iList = (pChunk->cFree - 1) >> GMM_CHUNK_FREE_SET_SHIFT; 1320 1320 pChunk->pFreeNext = pSet->apLists[iList]; 1321 if (pChunk->pFreeNext) 1322 pChunk->pFreeNext->pFreePrev = pChunk; 1321 1323 pSet->apLists[iList] = pChunk; 1322 1324 … … 1999 2001 static void gmmR0FreeChunk(PGMM pGMM, PGMMCHUNK pChunk) 2000 2002 { 2003 Assert(pChunk->Core.Key != NIL_GMM_CHUNKID); 2004 2001 2005 /* 2002 2006 * If there are current mappings of the chunk, then request the … … 2027 2031 Assert(pCore == &pChunk->Core); NOREF(pCore); 2028 2032 2029 PGMMCHUNKTLBE pTlbe = &pGMM->ChunkTLB.aEntries[GMM_CHUNKTLB_IDX(pC ore->Key)];2033 PGMMCHUNKTLBE pTlbe = &pGMM->ChunkTLB.aEntries[GMM_CHUNKTLB_IDX(pChunk->Key)]; 2030 2034 if (pTlbe->pChunk == pChunk) 2031 2035 {
Note:
See TracChangeset
for help on using the changeset viewer.