Ignore:
Timestamp:
Aug 31, 2007, 4:16:27 AM (18 years ago)
Author:
bird
Message:

Dropped kLdrBase.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kLdr/kLdrHlpHeap.c

    r3567 r3569  
    327327     * Find a fitting free block.
    328328     */
    329     const KSIZE     cbReq = KLDR_ALIGN_Z(cb + sizeof(KLDRHEAPBLOCK), KLDRHEAPBLOCK_ALIGNMENT);
     329    const KSIZE     cbReq = K_ALIGN_Z(cb + sizeof(KLDRHEAPBLOCK), KLDRHEAPBLOCK_ALIGNMENT);
    330330    PKLDRHEAPFREE   pCur = pHeap->pFreeHead;
    331331    while (pCur)
     
    420420
    421421    /* adjust the requested block size. */
    422     cb = KLDR_ALIGN_Z(cb, KLDRHEAPBLOCK_ALIGNMENT);
     422    cb = K_ALIGN_Z(cb, KLDRHEAPBLOCK_ALIGNMENT);
    423423    if (!cb)
    424424        cb = KLDRHEAPBLOCK_ALIGNMENT;
     
    579579    {
    580580        cb -= (KUPTR)pv & 31;
    581         pv = KLDR_ALIGN_P(pv, KLDRHEAPBLOCK_ALIGNMENT);
     581        pv = K_ALIGN_P(pv, KLDRHEAPBLOCK_ALIGNMENT);
    582582    }
    583583    cb &= ~(KSIZE)(KLDRHEAPBLOCK_ALIGNMENT - 1);
Note: See TracChangeset for help on using the changeset viewer.