Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/shell/xsh_memstat.c File Reference

#include <kernel.h>
#include <platform.h>
#include <mips.h>
#include <memory.h>
#include <proc.h>
#include <stdio.h>
#include <string.h>

Include dependency graph for xsh_memstat.c:

Go to the source code of this file.


void _start (void)
command xsh_memstat (ushort stdin, ushort stdout, ushort stderr, ushort nargs, char *args[])


char * maxaddr
void * end

Detailed Description


xsh_memstat.c 446 2008-04-30 18:49:43Z mschul

Definition in file xsh_memstat.c.

Function Documentation

void _start ( void   ) 

Referenced by nulluser(), and xsh_memstat().

command xsh_memstat ( ushort  stdin,
ushort  stdout,
ushort  stderr,
ushort  nargs,
char *  args[] 

Shell command (gpiostat) provides memory use and free list information.

stdin descriptor of input device
stdout descriptor of output device
stderr descriptor of error device
nargs number of arguments in args array
args array of arguments
OK for success, SYSERR for syntax error

Definition at line 30 of file xsh_memstat.c.

References _start(), end, fprintf(), freelist, KSEG0_BASE, memblock::length, memblock::next, NPROC, NULL, OK, PRFREE, proctab, strncmp(), and SYSERR.

Variable Documentation

void* end

char* maxaddr

Generated on Thu Oct 9 22:34:55 2008 for xinu by  doxygen 1.5.5