Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/getstk.c File Reference
#include <kernel.h>
Go to the source code of this file.
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