Changeset 3569 for trunk/kStuff/kLdr/kLdrHlpHeap.c
- Timestamp:
- Aug 31, 2007, 4:16:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/kLdr/kLdrHlpHeap.c
r3567 r3569 327 327 * Find a fitting free block. 328 328 */ 329 const KSIZE cbReq = K LDR_ALIGN_Z(cb + sizeof(KLDRHEAPBLOCK), KLDRHEAPBLOCK_ALIGNMENT);329 const KSIZE cbReq = K_ALIGN_Z(cb + sizeof(KLDRHEAPBLOCK), KLDRHEAPBLOCK_ALIGNMENT); 330 330 PKLDRHEAPFREE pCur = pHeap->pFreeHead; 331 331 while (pCur) … … 420 420 421 421 /* adjust the requested block size. */ 422 cb = K LDR_ALIGN_Z(cb, KLDRHEAPBLOCK_ALIGNMENT);422 cb = K_ALIGN_Z(cb, KLDRHEAPBLOCK_ALIGNMENT); 423 423 if (!cb) 424 424 cb = KLDRHEAPBLOCK_ALIGNMENT; … … 579 579 { 580 580 cb -= (KUPTR)pv & 31; 581 pv = K LDR_ALIGN_P(pv, KLDRHEAPBLOCK_ALIGNMENT);581 pv = K_ALIGN_P(pv, KLDRHEAPBLOCK_ALIGNMENT); 582 582 } 583 583 cb &= ~(KSIZE)(KLDRHEAPBLOCK_ALIGNMENT - 1);
Note:
See TracChangeset
for help on using the changeset viewer.