RTEMS 6.1-rc5
|
This source file contains the implementation of rtems_rbheap_allocate(), rtems_rbheap_extend_descriptors_never(), rtems_rbheap_extend_descriptors_with_malloc(), rtems_rbheap_free(), and rtems_rbheap_initialize(). 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. | |
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. | |
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. | |
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(). | |
This source file contains the implementation of rtems_rbheap_allocate(), rtems_rbheap_extend_descriptors_never(), rtems_rbheap_extend_descriptors_with_malloc(), rtems_rbheap_free(), and rtems_rbheap_initialize().