Go to the source code of this file.
Defines | |
#define | MEMOVHD (sizeof(size_t) + sizeof(0xDEADBEEF)) |
Overhead for each allocated memory clock. | |
Functions | |
void * | NutHeapAlloc (size_t size) |
Allocate a block from heap memory. | |
void * | NutHeapAllocClear (size_t size) |
Allocate an initialized block from heap memory. | |
void * | NutHeapRealloc (void *block, size_t size) |
Change the size of a memoryblock. If more memory is requested than available at that block the data is copied to a new, bigger block. | |
int | NutHeapFree (void *block) |
Return a block to heap memory. | |
void | NutHeapAdd (void *addr, size_t size) |
Add a new memory region to the free heap. | |
size_t | NutHeapAvailable (void) |
Return the number of bytes available. | |
Variables | |
HEAPNODE *volatile | heapFreeList |
List of free nodes. |