freebsd-dev/sys/dev/uart
Robert Watson 4cf7545589 Attempt to make break-to-debugger and alternative break-to-debugger more
accessible:

(1) Always compile in support for breaking into the debugger if options
    KDB is present in the kernel.

(2) Disable both by default, but allow them to be enabled via tunables
    and sysctls debug.kdb.break_to_debugger and
    debug.kdb.alt_break_to_debugger.

(3) options BREAK_TO_DEBUGGER and options ALT_BREAK_TO_DEBUGGER continue
    to behave as before -- only now instead of compiling in
    break-to-debugger support, they change the default values of the
    above sysctls to enable those features by default.  Current kernel
    configurations should, therefore, continue to behave as expected.

(4) Migrate alternative break-to-debugger state machine logic out of
    individual device drivers into centralised KDB code.  This has a
    number of upsides, but also one downside: it's now tricky to release
    sio spin locks when entering the debugger, so we don't.  However,
    similar logic does not exist in other device drivers, including uart.

(5) dcons requires some special handling; unlike other console types, it
    allows overriding KDB's own debugger selection, so we need a new
    interface to KDB to allow that to work.

GENERIC kernels in -CURRENT will now support break-to-debugger as long as
appropriate boot/run-time options are set, which should improve the
debuggability of BETA kernels significantly.

MFC after:	3 weeks
Reviewed by:	kib, nwhitehorn
Approved by:	re (bz)
2011-08-26 21:46:36 +00:00
..
uart_bus_acpi.c
uart_bus_ebus.c
uart_bus_fdt.c Check the environment for system devices before using the FDT. 2011-01-17 23:34:36 +00:00
uart_bus_isa.c
uart_bus_pccard.c
uart_bus_pci.c Add device ID for the Davicom 56PDV PCI Modem. 2011-07-08 17:45:38 +00:00
uart_bus_puc.c
uart_bus_scc.c
uart_bus.h
uart_core.c Attempt to make break-to-debugger and alternative break-to-debugger more 2011-08-26 21:46:36 +00:00
uart_cpu_amd64.c Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
uart_cpu_i386.c Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
uart_cpu_ia64.c
uart_cpu_pc98.c Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
uart_cpu_powerpc.c Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
uart_cpu_sparc64.c Recognize the SAB 82532 found in Fujitsu PRIMEPOWER650 and 900. 2011-05-15 13:27:38 +00:00
uart_cpu.h
uart_dbg.c
uart_dev_ns8250.c Ignore MCR[6] during the probe to fix a false negative. Bit 6 of the 2011-05-26 17:02:56 +00:00
uart_dev_quicc.c
uart_dev_sab82532.c
uart_dev_z8530.c
uart_if.m
uart_kbd_sun_tables.h
uart_kbd_sun.c Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP. 2011-07-17 08:19:19 +00:00
uart_kbd_sun.h
uart_subr.c Fix typos. 2010-11-09 10:59:09 +00:00
uart_tty.c In uart_tty_outwakeup(), check CTS/RTS flow control settings and 2011-01-24 18:34:16 +00:00
uart.h Add sbbc(4), a driver for the BootBus controller found in Serengeti and 2010-04-10 11:52:12 +00:00