Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/freemem.c File Reference

#include <kernel.h>
#include <platform.h>
#include <memory.h>

Include dependency graph for freemem.c:

Go to the source code of this file.

Functions

syscall freemem (void *pmem)

Variables

void * end


Detailed Description

freemem

Id
freemem.c 235 2007-07-12 22:52:09Z agember

Definition in file freemem.c.


Function Documentation

syscall freemem ( void *  pmem  ) 

Free a memory block, returning it to free list.

Parameters:
*pmem pointer to memory block
Returns:
OK on success, SYSERR on failure

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().


Variable Documentation

void* end


Generated on Thu Oct 9 22:35:01 2008 for xinu by  doxygen 1.5.5