diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-08 10:43:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-08 10:43:06 +0000 |
commit | 728a0bd3aa93e4e7422a69d708360a87bb37477b (patch) | |
tree | b287d2ae83726b2ffde0d05f76c6179144ada0f9 /cpukit/score/inline/rtems/score/stack.inl | |
parent | 2007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-728a0bd3aa93e4e7422a69d708360a87bb37477b.tar.bz2 |
Use size_t for stacksizes.
Diffstat (limited to 'cpukit/score/inline/rtems/score/stack.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/stack.inl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/inline/rtems/score/stack.inl b/cpukit/score/inline/rtems/score/stack.inl index 863d703aa3..cfa634df95 100644 --- a/cpukit/score/inline/rtems/score/stack.inl +++ b/cpukit/score/inline/rtems/score/stack.inl @@ -33,7 +33,7 @@ RTEMS_INLINE_ROUTINE void _Stack_Initialize ( Stack_Control *the_stack, void *starting_address, - uint32_t size + size_t size ) { the_stack->area = starting_address; @@ -46,7 +46,7 @@ RTEMS_INLINE_ROUTINE void _Stack_Initialize ( */ RTEMS_INLINE_ROUTINE boolean _Stack_Is_enough ( - uint32_t size + size_t size ) { return ( size >= STACK_MINIMUM_SIZE ); @@ -63,7 +63,7 @@ RTEMS_INLINE_ROUTINE boolean _Stack_Is_enough ( */ RTEMS_INLINE_ROUTINE uint32_t _Stack_Adjust_size ( - uint32_t size + size_t size ) { return size + CPU_STACK_ALIGNMENT; |