From: Erik M. <er...@us...> - 2002-02-17 19:54:51
|
Update of /cvsroot/blob/blob/src/lib In directory usw-pr-cvs1:/tmp/cvs-serv26300/src/lib Modified Files: Makefile.am reboot.c Removed Files: terminal.c Log Message: Move "reset" and "reboot" commands to lib/commands/ Index: Makefile.am =================================================================== RCS file: /cvsroot/blob/blob/src/lib/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Makefile.am 17 Feb 2002 15:41:54 -0000 1.13 +++ Makefile.am 17 Feb 2002 19:54:47 -0000 1.14 @@ -45,7 +45,6 @@ strlen.c \ strncmp.c \ strtou32.c \ - terminal.c \ time.c \ util.c Index: reboot.c =================================================================== RCS file: /cvsroot/blob/blob/src/lib/reboot.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- reboot.c 13 Feb 2002 00:10:57 -0000 1.3 +++ reboot.c 17 Feb 2002 19:54:47 -0000 1.4 @@ -27,27 +27,14 @@ # include <blob/config.h> #endif -#include <blob/serial.h> #include <blob/sa1100.h> #include <blob/util.h> -char reboothelp[] = "reboot\n" -"Reboot system\n"; - - - - -int reboot(int argc, char *argv[]) +void reboot_system(void) { - printf("Rebooting...\n\n"); - serial_flush_output(); - RCSR = 0; RSRR = 1; - - /* never reached, but anyway... */ - return 0; } --- terminal.c DELETED --- |