Turnstone Operating System
|
heap interface for all types More...
#include <memory.h>
Public Attributes | |
uint32_t | header |
heap header custom values | |
void * | metadata |
internal heap metadata filled by heap implementation | |
void *(* | malloc )(struct memory_heap_t *, size_t, size_t) |
malloc function of heap implementation | |
int8_t(* | free )(struct memory_heap_t *, void *) |
free function of heap implementation | |
void(* | stat )(struct memory_heap_t *, memory_heap_stat_t *) |
return heap stats | |
lock_t * | lock |
heap's lock | |
uint64_t | task_id |
task id of heap | |
heap interface for all types