freebsd-dev/sys/dev/sio
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
..
sio_isa.c Allow the sio acpi attachment to be disabled (ie: use hints only). This 2007-11-30 21:45:07 +00:00
sio_pccard.c
sio_pci.c o Revert last. The chip is already supported by puc(4). 2007-03-29 04:26:52 +00:00
sio_puc.c Add sio_puc_kludge_unit() to stop sio devices originating from puc 2007-11-30 21:36:12 +00:00
sio.c Expand kdb_alt_break a little, most commonly used with the option 2008-05-04 23:29:38 +00:00
sioreg.h
siovar.h