core: move reboot.c to a general power.c file
feature: halt added
This commit is contained in:
@ -43,7 +43,17 @@ static const char *POOP =
|
||||
" \\_ \\___\"\"\"/\"\" / `\"\"/\"\" "
|
||||
"\n";
|
||||
|
||||
typedef enum { HELP, REBOOT, POWEROFF, ECHO, COLOR, MERDELLA, ERROR } CMD_TOK;
|
||||
typedef enum {
|
||||
HELP,
|
||||
REBOOT,
|
||||
POWEROFF,
|
||||
HALT,
|
||||
ECHO,
|
||||
COLOR,
|
||||
MERDELLA,
|
||||
ERROR
|
||||
} CMD_TOK;
|
||||
|
||||
void reboot(void);
|
||||
void halt(void);
|
||||
void shell_init(void);
|
||||
|
Reference in New Issue
Block a user