diff options
-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; |