diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-05 21:18:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-05 21:18:29 +0000 |
commit | 88157a76de80e6182db7fb24baa374b7cfcdc960 (patch) | |
tree | 7bf1ee8d83b96092bc2531a5fa3e9e349f730432 /cpukit/score/inline/rtems/score/heap.inl | |
parent | 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-88157a76de80e6182db7fb24baa374b7cfcdc960.tar.bz2 |
2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/score/inline/rtems/score/heap.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/heap.inl | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl index f080ed7fdc..bdbe40029a 100644 --- a/cpukit/score/inline/rtems/score/heap.inl +++ b/cpukit/score/inline/rtems/score/heap.inl @@ -226,28 +226,6 @@ RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned_ptr ( } /** - * 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. - */ -RTEMS_INLINE_ROUTINE void _Heap_Align_up_uptr ( - _H_uptr_t *value, - uint32_t alignment -) -{ - _H_uptr_t remainder; - _H_uptr_t v = *value; - - remainder = v % alignment; - - if ( remainder ) - *value = v - remainder + alignment; -} - -/** * Align @a *value down to the nearest multiple of @a alignment. * * @param[in] value is a pointer to be aligned. |