#include <kernel.h>
#include <platform.h>
#include <mips.h>
#include <memory.h>
#include <proc.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
void | _start (void) |
command | xsh_memstat (ushort stdin, ushort stdout, ushort stderr, ushort nargs, char *args[]) |
Variables | |
char * | maxaddr |
void * | end |
Definition in file xsh_memstat.c.
void _start | ( | void | ) |
Referenced by nulluser(), and xsh_memstat().
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 |
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.
void* end |
char* maxaddr |