|
ChibiOS/RT
2.5.1 |
Heaps code.
Definition in file chheap.c.
#include "ch.h"Go to the source code of this file.
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. | |