diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-14 22:48:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-14 22:48:54 +0000 |
commit | 41eb1e40900196835f903485a6f81637e6b2210f (patch) | |
tree | 9a2f3040ad704b84d5ab79efcc8c441ec5f326ad /cpukit/score/include/rtems/score/protectedheap.h | |
parent | 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-41eb1e40900196835f903485a6f81637e6b2210f.tar.bz2 |
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h,
rtems/src/regioncreate.c, rtems/src/regionextend.c,
rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c,
rtems/src/regionmp.c, rtems/src/regionresizesegment.c,
sapi/include/rtems/config.h, score/include/rtems/score/heap.h,
score/include/rtems/score/protectedheap.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/pheapallocate.c,
score/src/pheapallocatealigned.c, score/src/pheapextend.c,
score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change
sizes of heap/region and allocated objects in heap to intptr_t so
they can be larger than a single allocatable object (e.g. size_t).
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/protectedheap.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/protectedheap.h b/cpukit/score/include/rtems/score/protectedheap.h index 78c2abc3d2..1d71ac9b3f 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, - size_t size, + intptr_t size, uint32_t page_size ) { @@ -74,7 +74,7 @@ static inline uint32_t _Protected_heap_Initialize( bool _Protected_heap_Extend( Heap_Control *the_heap, void *starting_address, - size_t size + intptr_t size ); /** @@ -88,7 +88,7 @@ bool _Protected_heap_Extend( */ void *_Protected_heap_Allocate( Heap_Control *the_heap, - size_t size + intptr_t size ); /** @@ -107,7 +107,7 @@ void *_Protected_heap_Allocate( */ void *_Protected_heap_Allocate_aligned( Heap_Control *the_heap, - size_t size, + intptr_t size, uint32_t alignment ); @@ -128,7 +128,7 @@ void *_Protected_heap_Allocate_aligned( bool _Protected_heap_Get_block_size( Heap_Control *the_heap, void *starting_address, - size_t *size + intptr_t *size ); /** @@ -146,7 +146,7 @@ bool _Protected_heap_Get_block_size( bool _Protected_heap_Resize_block( Heap_Control *the_heap, void *starting_address, - size_t size + intptr_t size ); /** |