From 88157a76de80e6182db7fb24baa374b7cfcdc960 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Aug 2009 21:18:29 +0000 Subject: 2009-08-05 Joel Sherrill * libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl: Remove inline version now that it is in a C file. * libcsupport/src/end_profile.c: New file. --- cpukit/score/include/rtems/score/heap.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include/rtems/score/heap.h') diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h index 30d1bd6846..240cf0cd42 100644 --- a/cpukit/score/include/rtems/score/heap.h +++ b/cpukit/score/include/rtems/score/heap.h @@ -449,7 +449,7 @@ void _Heap_Get_free_information( * * @return This method returns block size on success, 0 if overflow occured. */ -extern size_t _Heap_Calc_block_size( +size_t _Heap_Calc_block_size( size_t size, uint32_t page_size, uint32_t min_size @@ -471,12 +471,25 @@ extern size_t _Heap_Calc_block_size( * * @return This methods returns the size of the allocated block. */ -extern uint32_t _Heap_Block_allocate( +uint32_t _Heap_Block_allocate( Heap_Control* the_heap, Heap_Block* the_block, uint32_t alloc_size ); +/** + * Align @a *value up to the nearest multiple of @a alignment. + * + * @param[in] value is a pointer to be aligned. + * @param[in] alignment is the alignment value. + * + * @return Upon return, @a value will contain the aligned result. + */ +void _Heap_Align_up_uptr ( + _H_uptr_t *value, + uint32_t alignment +); + /* * Debug support */ -- cgit v1.2.3