RTEMS CPU Kit with SuperCore
4.11.3
|
RTEMS Run-Time Linker Allocator for the standard heap. More...
Functions | |
void | rtems_rtl_alloc_heap (bool allocate, rtems_rtl_alloc_tag_t tag, void **address, size_t size) |
Allocator handler for the standard libc heap. More... | |
RTEMS Run-Time Linker Allocator for the standard heap.
void rtems_rtl_alloc_heap | ( | bool | allocate, |
rtems_rtl_alloc_tag_t | tag, | ||
void ** | address, | ||
size_t | size | ||
) |
Allocator handler for the standard libc heap.
allocation | If true the request is to allocate memory else free. |
tag | The type of allocation request. |
address | Pointer to the memory address. If an allocation the value is unspecific on entry and the allocated address or NULL on exit. The NULL value means the allocation failed. If a delete or free request the memory address is the block to free. A free request of NULL is silently ignored. |
size | The size of the allocation if an allocation request and not used if deleting or freeing a previous allocation. |
Referenced by rtems_rtl_alloc_initialise().