diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-16 07:19:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-16 07:19:24 +0000 |
commit | 37c7bfcbd2beb34d67ed8524c0222f043bbb3e00 (patch) | |
tree | 307f31d835fed2d771563229ce9ed232ac91171d | |
parent | Upgrade to newlib-1.15.0-rtems4.8-20070316.diff (diff) | |
download | rtems-37c7bfcbd2beb34d67ed8524c0222f043bbb3e00.tar.bz2 |
Change _Workspace_Handler_initialization and _Workspace_Allocate_or_fatal_error to using size_t.
-rw-r--r-- | cpukit/score/include/rtems/score/wkspace.h | 4 | ||||
-rw-r--r-- | cpukit/score/inline/rtems/score/wkspace.inl | 2 | ||||
-rw-r--r-- | cpukit/score/src/wkspace.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/wkspace.h b/cpukit/score/include/rtems/score/wkspace.h index 2fcc22a0aa..b692b914eb 100644 --- a/cpukit/score/include/rtems/score/wkspace.h +++ b/cpukit/score/include/rtems/score/wkspace.h @@ -52,7 +52,7 @@ SCORE_EXTERN Heap_Control _Workspace_Area; /* executive heap header */ */ void _Workspace_Handler_initialization( void *starting_address, - uint32_t size + size_t size ); /** @brief Workspace Allocate or Fail with Fatal Error @@ -65,7 +65,7 @@ void _Workspace_Handler_initialization( * @return If successful, the starting address of the allocated memory */ void *_Workspace_Allocate_or_fatal_error( - uint32_t size + size_t size ); #ifndef __RTEMS_APPLICATION__ diff --git a/cpukit/score/inline/rtems/score/wkspace.inl b/cpukit/score/inline/rtems/score/wkspace.inl index 736bb17712..d2c05db2e9 100644 --- a/cpukit/score/inline/rtems/score/wkspace.inl +++ b/cpukit/score/inline/rtems/score/wkspace.inl @@ -31,7 +31,7 @@ */ RTEMS_INLINE_ROUTINE void *_Workspace_Allocate( - uint32_t size + size_t size ) { return _Heap_Allocate( &_Workspace_Area, size ); diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c index 97c1820119..c5cd84abf7 100644 --- a/cpukit/score/src/wkspace.c +++ b/cpukit/score/src/wkspace.c @@ -30,7 +30,7 @@ void _Workspace_Handler_initialization( void *starting_address, - uint32_t size + size_t size ) { uint32_t *zero_out_array; @@ -73,7 +73,7 @@ void _Workspace_Handler_initialization( */ void *_Workspace_Allocate_or_fatal_error( - uint32_t size + size_t size ) { void *memory; |