From 91a3554dedcf9b1495c15ef6af69bf2d940a5d80 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Sep 1995 21:43:12 +0000 Subject: Modifications from Tony Bennett accepted to return aligned block. --- cpukit/score/include/rtems/score/heap.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cpukit/score/include/rtems') diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h index bf4a8dde6e..b0a2d57f39 100644 --- a/cpukit/score/include/rtems/score/heap.h +++ b/cpukit/score/include/rtems/score/heap.h @@ -278,6 +278,16 @@ STATIC INLINE Heap_Block *_Heap_Block_at( unsigned32 offset ); +/*PAGE + * + * _Heap_User_Block_at + * + */ + +STATIC INLINE Heap_Block *_Heap_User_Block_at( + void *base +); + /* * _Heap_Is_previous_block_free * -- cgit v1.2.3