- panic if there's no runnable process

- more basic sanity check before recursive enter check (data segment)
 - try to jump to boot monitor instantly on recursive panic
This commit is contained in:
Ben Gras
2009-10-03 11:30:35 +00:00
parent e716fae585
commit fe35879325
7 changed files with 19 additions and 3 deletions

View File

@@ -20,6 +20,11 @@
FORWARD _PROTOTYPE( void ser_debug, (int c));
PUBLIC void arch_monitor(void)
{
level0(monitor);
}
PUBLIC void arch_shutdown(int how)
{
/* Mask all interrupts, including the clock. */
@@ -68,7 +73,7 @@ PUBLIC void arch_shutdown(int how)
arch_set_params(mybuffer, strlen(mybuffer)+1);
}
level0(monitor);
arch_monitor();
} else {
/* Reset the system by forcing a processor shutdown. First stop
* the BIOS memory test by setting a soft reset flag.