Fixed code passed to boot monitor after shutdown.
This commit is contained in:
parent
4b887108eb
commit
47e3d11e42
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue