cvs commit: src/sys/sys cons.h src/sys/kern tty_cons.c
Robert Watson
rwatson at FreeBSD.org
Fri Oct 17 19:13:40 PDT 2003
rwatson 2003/10/17 19:13:39 PDT
FreeBSD src repository
Modified files:
sys/sys cons.h
sys/kern tty_cons.c
Log:
Add a new cn_flags fields to struct consdev, the low-level console
definition structure. Define one flag, CN_FLAG_NODEBUG, which
indicates the console driver cannot be used in the context of the
debugger. This may be used, for example, if the console device
interacts with kernel services that cannot be used from the
debugger context, such as the network stack. These drivers are
skipped over for calls to cn_checkc() and cn_putc(), and the
calling function simply moves on to the next available console.
Revision Changes Path
1.116 +10 -6 src/sys/kern/tty_cons.c
1.33 +4 -0 src/sys/sys/cons.h
More information about the cvs-src
mailing list