freebsd-nq/sys/dev/ofw
Peter Wemm 43d7128c14 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
..
ofw_bus_if.m - Add a new method ofw_bus_default_get_devinfo() that allows to retrieve 2005-11-22 16:37:45 +00:00
ofw_bus_subr.c - Add a new method ofw_bus_default_get_devinfo() that allows to retrieve 2005-11-22 16:37:45 +00:00
ofw_bus_subr.h - Add a new method ofw_bus_default_get_devinfo() that allows to retrieve 2005-11-22 16:37:45 +00:00
ofw_bus.h
ofw_console.c Expand kdb_alt_break a little, most commonly used with the option 2008-05-04 23:29:38 +00:00
ofw_disk.c Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
ofw_pci.h
openfirm.c Fix warnings. 2007-07-06 00:47:44 +00:00
openfirm.h - Restore the machine independency of sys/dev/ofw/openfirm.{c,h} by 2007-06-16 22:30:38 +00:00
openfirmio.c Fix spelling and wording in a comment. 2006-09-01 20:12:12 +00:00
openfirmio.h
openpromio.c In openprom_ioctl() ensure appropriate permissions and that data isn't 2007-12-20 00:31:04 +00:00
openpromio.h