|
tape-kernel 1.0
a modular modern independent kernel
|
#include "../lib/types.h"

Go to the source code of this file.
Macros | |
| #define | shell __shell |
Functions | |
| void | __shell (void *mb_info) |
| shell is the interactive kernel command shell | |
| #define shell __shell |
Definition at line 4 of file shell.h.
Referenced by ___kmain().
| void __shell | ( | void * | mb_info | ) |
shell is the interactive kernel command shell
shell is a function that runs an infinite loop displaying the tape prompt and processing user commands
| mb_info,the | multiboot info pointer passed from kmain for memory queries |
shell supports the following commands: help, clear, ls, read, write, rm, echo, reboot, alloc, heap, panic, and info
using shell is done with
Definition at line 182 of file shell.c.
References atoi(), clscr, cmd_alloc(), cmd_arena, cmd_readfile(), cmd_writefile(), cnb, cob, disksize, editor, fsdelete, fsfind, fslist, getcpu, lines, MAX_ARGS, memsize, NORETURN, panic, pargs(), prt, prtd, prth, rdln, reboot, res, scrl, show_help(), strcmp(), and strlen().