Changeset 91a3554d in rtems for cpukit/score/macros


Ignore:
Timestamp:
Sep 19, 1995, 9:43:12 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d434b8d6
Parents:
84ee59f5
Message:

Modifications from Tony Bennett accepted to return aligned block.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/macros/rtems/score/heap.inl

    r84ee59f5 r91a3554d  
    7171/*PAGE
    7272 *
     73 *  _Heap_User_Block_at
     74 *
     75 */
     76 
     77#define _Heap_User_Block_at( _base ) \
     78  _Heap_Block_at( \
     79    (_base), \
     80    -*(((unsigned32 *) (_base)) - 1) + -HEAP_BLOCK_USED_OVERHEAD \
     81  )
     82
     83/*PAGE
     84 *
    7385 *  _Heap_Is_previous_block_free
    7486 */
Note: See TracChangeset for help on using the changeset viewer.