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

#include <kernel.h>

Include dependency graph for getstk.c:

Go to the source code of this file.

Functions

void * getstk (ulong nbytes)

Variables

char * maxheap
void * end


Detailed Description

getstk

Id
getstk.c 241 2007-07-13 22:24:20Z agember

Definition in file getstk.c.


Function Documentation

void* getstk ( ulong  nbytes  ) 

Allocate stack memory, returning address of topmost word.

Parameters:
nbytes amount of memory to allocate, in bytes
Returns:
address of the topmost word

Definition at line 19 of file getstk.c.

References end, maxheap, and SYSERR.


Variable Documentation

void* end

char* maxheap

Referenced by getstk().


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