This commit is contained in:
Adrien Bourmault 2019-05-08 23:06:57 +02:00
parent f87712bfe7
commit e3d87442f7
1 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,13 @@ error_t CmdBeep(int argc, char **argv, char *cmdline)
return EOK;
}
error_t CmdStarWars(int argc, char **argv, char *cmdline)
{
IoDoStarWars();
return EOK;
}
error_t CmdQuit(int argc, char **argv, char *cmdline)
{
PoShutdownQemu();
@ -128,6 +135,7 @@ error_t CmdDie(int argc, char **argv, char *cmdline)
Command_t cmdtable[] =
{
{ "beep", CmdBeep, "Make a beep" },
{ "sw", CmdStarWars, "?"},
{ "date", CmdDate, "Print date" },
{ "die", CmdDie, "Die painfully" },
{ "exit", CmdQuit, "Initiate shutdown" },