RTEMS CPU Kit with SuperCore
4.11.2
|
Provides protected heap services. More...
![]() |
Files | |
file | protectedheap.h |
Protected Heap Handler API. | |
file | pheapallocate.c |
Protected Heap Handler implementation. | |
file | pheapextend.c |
Protected Heap Handler implementation. | |
file | pheapfree.c |
Protected Heap Handler implementation. | |
file | pheapgetblocksize.c |
Protected Heap Handler implementation. | |
file | pheapgetfreeinfo.c |
Protected Heap Handler implementation. | |
file | pheapgetinfo.c |
Protected Heap Handler implementation. | |
file | pheapgetsize.c |
Protected Heap Handler implementation. | |
file | pheapinit.c |
Protected Heap Handler implementation. | |
file | pheapiterate.c |
_Heap_Iterate() implementation. | |
file | pheapresizeblock.c |
Protected Heap Handler implementation. | |
file | pheapwalk.c |
Protected Heap Handler implementation. | |
Provides protected heap services.
The RTEMS Allocator Mutex is used to protect the heap accesses.
bool _Protected_heap_Extend | ( | Heap_Control * | heap, |
void * | area_begin, | ||
uintptr_t | area_size | ||
) |
See _Heap_Extend().
Returns true in case of success, and false otherwise.
Referenced by _Protected_heap_Initialize().
bool _Protected_heap_Free | ( | Heap_Control * | heap, |
void * | addr | ||
) |
See _Heap_Free().
Returns true in case of success, and false otherwise.
Referenced by _Protected_heap_Allocate(), and rtems_workspace_free().
bool _Protected_heap_Get_free_information | ( | Heap_Control * | heap, |
Heap_Information * | info | ||
) |
See _Heap_Get_free_information().
Returns true in case of success, and false otherwise.
bool _Protected_heap_Get_information | ( | Heap_Control * | heap, |
Heap_Information_block * | info | ||
) |
Returns true in case of success, and false otherwise.
Referenced by _Protected_heap_Allocate(), malloc_info(), and rtems_workspace_get_information().
bool _Protected_heap_Resize_block | ( | Heap_Control * | heap, |
void * | addr, | ||
uintptr_t | size | ||
) |
See _Heap_Resize_block().
Returns true in case of success, and false otherwise.
Referenced by _Protected_heap_Allocate().