![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
Heaps code. More...
#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. | |
Heaps code.
Definition in file chheap.c.
1.7.1