Remove ability to pass commands to bootloader

This commit is contained in:
Erik van der Kouwe
2012-11-22 17:30:22 +01:00
parent 4a711bea63
commit 57c748b968
14 changed files with 35 additions and 123 deletions

View File

@@ -118,10 +118,6 @@ __dead void arch_shutdown(int how)
reset();
}
if (how == RBT_DEFAULT) {
how = RBT_RESET;
}
switch (how) {
case RBT_HALT:
/* Stop */
@@ -133,7 +129,8 @@ __dead void arch_shutdown(int how)
poweroff();
NOT_REACHABLE;
default:
default:
case RBT_DEFAULT:
case RBT_REBOOT:
case RBT_RESET:
/* Reset the system by forcing a processor shutdown.