Implementation of the managed memory allocator
Macros | |
#define | MMEM_SIZE 4096 |
Functions | |
LIST (mmemlist) | |
int | mmem_alloc (struct mmem *m, unsigned int size) |
Allocate a managed memory block. More... | |
void | mmem_free (struct mmem *m) |
Deallocate a managed memory block. More... | |
void | mmem_init (void) |
Initialize the managed memory module. More... | |
Variables | |
unsigned int | avail_memory |
static char | memory [MMEM_SIZE] |