5 #include <sys/robsys.h>
14 int help(int, char**);
18 * info -- shows basic info of system
19 * reset -- software reset
20 * show [ADDRESS-ADDRESS] -- shows SRAM range
21 * switchmode -- switch to unprivileged mode
24 static char buf[BUFSIZE];
30 int (*function)(int argc, char ** argsv);
33 static struct cmd builtin[] =
34 { "info", "show info", help};
36 int help(int argc, char ** argsv) {
44 cputs("Terminal running!\n");
47 buf = readline("root# ");
49 if (runcmd(buf, tf) < 0)