#include <kernel.h>
#include <platform.h>
#include <memory.h>
Go to the source code of this file.
Functions | |
syscall | freemem (void *pmem) |
Variables | |
void * | end |
Definition in file freemem.c.
syscall freemem | ( | void * | pmem | ) |
Free a memory block, returning it to free list.
*pmem | pointer to memory block |
Definition at line 20 of file freemem.c.
References ASSERT, disable(), freelist, memblock::length, minheap, memblock::next, NULL, OK, restore(), and SYSERR.
Referenced by kill().
void* end |