Fixed code passed to boot monitor after shutdown.

This commit is contained in:
Jorrit Herder 2005-06-17 09:40:02 +00:00
parent 4b887108eb
commit 47e3d11e42

View file

@ -310,11 +310,10 @@ timer_t *tp;
/* Return to the boot monitor. Set the program for the boot monitor.
* For RBT_MONITOR, the MM has provided the program.
*/
if (how == RBT_HALT) {
phys_copy(vir2phys("delay;menu"), kinfo.params_base, 11);
} else if (how == RBT_REBOOT) {
if (how == RBT_REBOOT)
phys_copy(vir2phys("delay;boot"), kinfo.params_base, 11);
}
else
phys_copy(vir2phys("delay"), kinfo.params_base, 6);
level0(monitor);
}