Trigger the monitor with an interrupt
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 22 Apr 2010 02:56:21 +0000 (19:56 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:43 +0000 (17:35 -0700)
commitefe43c3c0568e523bbc37b7ad4de6e5abf179cc4
treec6e9b3effd971692bc60b6a81730754a961cbf52
parent950605ad3ace50915404ca0b7534cf9a15e942da
Trigger the monitor with an interrupt

It will respond to keyboard or serial input (so it works with VMs).  Hit
the char, drop into the monitor.  Exit it to return from the interrupt.
To use it, set the __CONFIG_MONITOR_ON_INT__ variable in your Makelocal.

Careful KFS running from this.  In fact, you don't want to, since it
won't return, meaning you won't return from the keyboard interrupt to
whatever process you were running before.
Makeconfig
Makelocal.template
kern/arch/i686/init.c
kern/arch/i686/trap.c
kern/src/manager.c