diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-29 16:41:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-29 16:41:13 +0000 |
commit | d6154c70dc048e21aae907fd053a1e7a1d155408 (patch) | |
tree | 9ecb1475f4432a19f423da0ff73fbec9a87536af /cpukit/score/inline/rtems/score/heap.inl | |
parent | 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-d6154c70dc048e21aae907fd053a1e7a1d155408.tar.bz2 |
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* score/include/rtems/debug.h, score/include/rtems/score/bitfield.h,
score/include/rtems/score/chain.h,
score/include/rtems/score/coremsg.h,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/coresem.h,
score/include/rtems/score/heap.h,
score/include/rtems/score/interr.h, score/include/rtems/score/isr.h,
score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h,
score/include/rtems/score/object.h,
score/include/rtems/score/objectmp.h,
score/include/rtems/score/priority.h,
score/include/rtems/score/stack.h,
score/include/rtems/score/states.h,
score/include/rtems/score/thread.h,
score/include/rtems/score/threadmp.h,
score/include/rtems/score/threadq.h,
score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h,
score/include/rtems/score/userext.h,
score/include/rtems/score/watchdog.h,
score/include/rtems/score/wkspace.h,
score/inline/rtems/score/address.inl,
score/inline/rtems/score/coremsg.inl,
score/inline/rtems/score/coresem.inl,
score/inline/rtems/score/heap.inl, score/inline/rtems/score/isr.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/priority.inl,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl,
score/inline/rtems/score/tqdata.inl,
score/inline/rtems/score/userext.inl,
score/inline/rtems/score/wkspace.inl,
score/macros/rtems/score/address.inl,
score/macros/rtems/score/heap.inl,
score/macros/rtems/score/object.inl,
score/macros/rtems/score/priority.inl,
score/macros/rtems/score/userext.inl: Convert to using c99 fixed
size types.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/inline/rtems/score/heap.inl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl index 9fafdbdea4..ae41cf6244 100644 --- a/cpukit/score/inline/rtems/score/heap.inl +++ b/cpukit/score/inline/rtems/score/heap.inl @@ -104,7 +104,7 @@ RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Next_block ( RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at( void *base, - unsigned32 offset + uint32_t offset ) { return (Heap_Block *) _Addresses_Add_offset( (void *)base, offset ); @@ -123,9 +123,9 @@ RTEMS_INLINE_ROUTINE Heap_Block *_Heap_User_block_at( void *base ) { - unsigned32 offset; + uint32_t offset; - offset = *(((unsigned32 *) base) - 1); + offset = *(((uint32_t *) base) - 1); return _Heap_Block_at( base, -offset + -HEAP_BLOCK_USED_OVERHEAD); } @@ -188,7 +188,7 @@ RTEMS_INLINE_ROUTINE boolean _Heap_Is_block_used ( * This function returns the size of the_block in bytes. */ -RTEMS_INLINE_ROUTINE unsigned32 _Heap_Block_size ( +RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size ( Heap_Block *the_block ) { @@ -243,7 +243,7 @@ RTEMS_INLINE_ROUTINE boolean _Heap_Is_block_in ( */ RTEMS_INLINE_ROUTINE boolean _Heap_Is_page_size_valid( - unsigned32 page_size + uint32_t page_size ) { return ((page_size != 0) && @@ -261,9 +261,9 @@ RTEMS_INLINE_ROUTINE boolean _Heap_Is_page_size_valid( * heap block. */ -RTEMS_INLINE_ROUTINE unsigned32 _Heap_Build_flag ( - unsigned32 size, - unsigned32 in_use_flag +RTEMS_INLINE_ROUTINE uint32_t _Heap_Build_flag ( + uint32_t size, + uint32_t in_use_flag ) { return size | in_use_flag; |