ChibiOS/RT Architecture - Reference Manual - Guides |
Heaps macros and structures. More...
Go to the source code of this file.
Data Structures | |
union | heap_header |
Memory heap block header. More... | |
struct | memory_heap |
Structure describing a memory heap. More... | |
Functions | |
void | heap_init (void) |
Initializes the default heap. | |
void | chHeapInit (MemoryHeap *heapp, void *buf, size_t size) |
Initializes a memory heap from a static memory area. | |
void * | chHeapAlloc (MemoryHeap *heapp, size_t size) |
Allocates a block of memory from the heap by using the first-fit algorithm. | |
void | chHeapFree (void *p) |
Frees a previously allocated memory block. | |
size_t | chHeapStatus (MemoryHeap *heapp, size_t *sizep) |
Reports the heap status. |
Heaps macros and structures.
Definition in file chheap.h.