summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/protectedheap.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 20:01:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 20:01:13 +0000
commit7ff6115b8b913d848b8fe76daf72ca0b4bbf2548 (patch)
tree35545452de162753f8c608a400f2b0bd97d42807 /cpukit/score/include/rtems/score/protectedheap.h
parent2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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/protectedheap.h')
-rw-r--r--cpukit/score/include/rtems/score/protectedheap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/protectedheap.h b/cpukit/score/include/rtems/score/protectedheap.h
index 508e548354..78c2abc3d2 100644
--- a/cpukit/score/include/rtems/score/protectedheap.h
+++ b/cpukit/score/include/rtems/score/protectedheap.h
@@ -54,7 +54,7 @@ extern "C" {
static inline uint32_t _Protected_heap_Initialize(
Heap_Control *the_heap,
void *starting_address,
- ssize_t size,
+ size_t size,
uint32_t page_size
)
{
@@ -128,7 +128,7 @@ void *_Protected_heap_Allocate_aligned(
bool _Protected_heap_Get_block_size(
Heap_Control *the_heap,
void *starting_address,
- ssize_t *size
+ size_t *size
);
/**