freebsd-skq/sys/dev/dcons
peter 5a3c5f632b Expand kdb_alt_break a little, most commonly used with the option
ALT_BREAK_TO_DEBUGGER.  In addition to "Enter ~ ctrl-B" (to enter the
debugger), there is now "Enter ~ ctrl-P" (force panic) and
"Enter ~ ctrl-R" (request clean reboot, ala ctrl-alt-del on syscons).

We've used variations of this at work.  The force panic sequence is
best used with KDB_UNATTENDED for when you just want it to dump and
get on with it.

The reboot request is a safer way of getting into single user than
a power cycle.  eg: you've hosed the ability to log in (pam, rtld, etc).
It gives init the reboot signal, which causes an orderly reboot.

I've taken my best guess at what the !x86 and non-sio code changes
should be.

This also makes sio release its spinlock before calling KDB/DDB.
2008-05-04 23:29:38 +00:00
..
dcons_crom.c Add the address of IDT in the configuration ROM. (i386/amd64 only) 2007-06-08 04:33:25 +00:00
dcons_os.c Expand kdb_alt_break a little, most commonly used with the option 2008-05-04 23:29:38 +00:00
dcons_os.h Poll bus resets on FireWire while kdb/gdb is active. 2007-06-08 00:54:44 +00:00
dcons.c Include stand.h for loader. 2007-05-25 05:00:39 +00:00
dcons.h Add the address of IDT in the configuration ROM. (i386/amd64 only) 2007-06-08 04:33:25 +00:00