diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-20 20:01:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-20 20:01:13 +0000 |
commit | 7ff6115b8b913d848b8fe76daf72ca0b4bbf2548 (patch) | |
tree | 35545452de162753f8c608a400f2b0bd97d42807 /cpukit/score/include/rtems/score/wkspace.h | |
parent | 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-7ff6115b8b913d848b8fe76daf72ca0b4bbf2548.tar.bz2 |
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/heap.h,
score/include/rtems/score/protectedheap.h,
score/include/rtems/score/wkspace.h, score/src/heap.c,
score/src/heapallocate.c, score/src/heapallocatealigned.c,
score/src/heapextend.c, score/src/heapresizeblock.c,
score/src/heapsizeofuserarea.c, score/src/pheapgetblocksize.c,
score/src/wkspace.c: Revert use of ssize_t. This type is not
guaranteed to be able to represent a positive number greater than the
size of a single allocatable object. We needed a type that is able to
represent the size of a pool of multiple allocatable objects or
potentially nearly all memory.
Diffstat (limited to 'cpukit/score/include/rtems/score/wkspace.h')
-rw-r--r-- | cpukit/score/include/rtems/score/wkspace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/wkspace.h b/cpukit/score/include/rtems/score/wkspace.h index 36fa34b420..b4047c56fa 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, - ssize_t size + size_t size ); /** @brief Allocate Memory from Workspace @@ -66,7 +66,7 @@ void _Workspace_Handler_initialization( * @return a pointer to the requested memory or NULL. */ void *_Workspace_Allocate( - ssize_t size + size_t size ); /** @brief Free Memory to the Workspace @@ -94,7 +94,7 @@ bool _Workspace_Free( * @return If successful, the starting address of the allocated memory */ void *_Workspace_Allocate_or_fatal_error( - ssize_t size + size_t size ); #ifndef __RTEMS_APPLICATION__ |