儲存庫 vbox 的更動 18369
- 時間撮記:
- 2009-3-27 上午03:24:07 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r18219 r18369 513 513 uint32_t idChunkPrev; 514 514 /** Chunk ID allocation bitmap. 515 * Bits of allocated IDs are set, free ones are clear ed.515 * Bits of allocated IDs are set, free ones are clear. 516 516 * The NIL id (0) is marked allocated. */ 517 uint32_t bmChunkId[(GMM_CHUNKID_LAST + 32) >> 10];517 uint32_t bmChunkId[(GMM_CHUNKID_LAST + 1 + 31) / 32]; 518 518 } GMM; 519 519 /** Pointer to the GMM instance. */ … … 1373 1373 if (idChunk > NIL_GMM_CHUNKID) 1374 1374 { 1375 AssertMsgReturn(!ASMAtomicBitTestAndSet(&pGMM->bmChunkId[0], idChunk), ("%#x\n", idChunk), NIL_G VM_HANDLE);1375 AssertMsgReturn(!ASMAtomicBitTestAndSet(&pGMM->bmChunkId[0], idChunk), ("%#x\n", idChunk), NIL_GMM_CHUNKID); 1376 1376 return pGMM->idChunkPrev = idChunk; 1377 1377 } … … 1384 1384 idChunk = ASMBitFirstClear(&pGMM->bmChunkId[0], GMM_CHUNKID_LAST + 1); 1385 1385 AssertMsgReturn(idChunk > NIL_GMM_CHUNKID, ("%#x\n", idChunk), NIL_GVM_HANDLE); 1386 AssertMsgReturn(!ASMAtomicBitTestAndSet(&pGMM->bmChunkId[0], idChunk), ("%#x\n", idChunk), NIL_G VM_HANDLE);1386 AssertMsgReturn(!ASMAtomicBitTestAndSet(&pGMM->bmChunkId[0], idChunk), ("%#x\n", idChunk), NIL_GMM_CHUNKID); 1387 1387 1388 1388 return pGMM->idChunkPrev = idChunk;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器