Date: Fri, 17 Oct 2003 19:13:39 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys cons.h src/sys/kern tty_cons.c Message-ID: <200310180213.h9I2DdPd061436@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310180213.h9I2DdPd061436>
