Go to the source code of this file.
|
void * | heapAlloc (uint32_t length) |
| Allocates a block of kernel memory. More...
|
|
void | heapFree (void *addr) |
| Deallocates a block of kernel memory. More...
|
|
uint32_t | heapSize (void *addr) |
| Determines the size of a specific kernel memory block. More...
|
|
void * | heapReAlloc (void *addr, uint32_t length) |
| Resizes a block of kernel memory. More...
|
|
void | heapVerify () |
| Runs some internal checks to ensure that the heap is still valid. More...
|
|
◆ VALIDATE_UNUSED_LIST
#define VALIDATE_UNUSED_LIST |
( |
|
unused_list | ) |
|
Value:do \
{ \
LL_FOR_EACH(heap, unused_list,
struct heapEntry, entry) \
{ \
assert(heap->length >=
sizeof(
struct heapEntry) + 16); \
assert(!heap->reserved); \
} \
} \
while(0)