RTEMS
5.1
|
Red-Black Tree Heap implementation. More...
Macros | |
#define | NULL_PAGE rtems_rbheap_chunk_of_node(NULL) |
Functions | |
rtems_status_code | rtems_rbheap_initialize (rtems_rbheap_control *control, void *area_begin, uintptr_t area_size, uintptr_t alignment, rtems_rbheap_extend_descriptors extend_descriptors, void *handler_arg) |
Initializes the red-black tree heap control. More... | |
void * | rtems_rbheap_allocate (rtems_rbheap_control *control, size_t size) |
Allocates a chunk of memory of at least size bytes from the red-black tree heap control. More... | |
rtems_status_code | rtems_rbheap_free (rtems_rbheap_control *control, void *ptr) |
Frees a chunk of memory ptr allocated from the red-black tree heap control. More... | |
void | rtems_rbheap_extend_descriptors_never (rtems_rbheap_control *control) |
Chunk descriptor extend handler that does nothing. | |
void | rtems_rbheap_extend_descriptors_with_malloc (rtems_rbheap_control *control) |
Chunk descriptor extend handler that uses malloc(). | |
Red-Black Tree Heap implementation.