Change _Workspace_Handler_initialization and _Workspace_Allocate_or_fatal_error to using size_t.

This commit is contained in:
Ralf Corsepius
2007-03-16 07:19:24 +00:00
parent 20bc17fe93
commit 37c7bfcbd2
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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__
+1 -1
View File
@@ -31,7 +31,7 @@
*/
RTEMS_INLINE_ROUTINE void *_Workspace_Allocate(
uint32_t size
size_t size
)
{
return _Heap_Allocate( &_Workspace_Area, size );
+2 -2
View File
@@ -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;