summaryrefslogtreecommitdiffstats
path: root/sys/sys/cons.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-04-08 21:32:11 +0000
committerjoerg <joerg@FreeBSD.org>1995-04-08 21:32:11 +0000
commit2feff74c285a9678d5c38db2c45437df72a5bfdb (patch)
tree39d4529134d7e712accc4219cbd917de8336bcb9 /sys/sys/cons.h
parentc4c9cf1214969920aa1211a6e037a49c7cd0ff34 (diff)
downloadFreeBSD-src-2feff74c285a9678d5c38db2c45437df72a5bfdb.zip
FreeBSD-src-2feff74c285a9678d5c38db2c45437df72a5bfdb.tar.gz
Implement a simple hook (or hack?) to allow graphics device console
drivers to protect DDB from being invoked while the console is in process-controlled (i.e., graphics) mode. Implement the logic to use this hook from within pcvt. (I'm sure Søren will do the syscons part RSN). I've still got one occasion where the system stalled, but my attempts to trigger the situation artificially resulted int the expected behaviour. It's hard to track bugs without the console and DDB available. :-/
Diffstat (limited to 'sys/sys/cons.h')
-rw-r--r--sys/sys/cons.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/cons.h b/sys/sys/cons.h
index 1e1b2f2..ded55d8 100644
--- a/sys/sys/cons.h
+++ b/sys/sys/cons.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.h 7.2 (Berkeley) 5/9/91
- * $Id: cons.h,v 1.5 1994/05/25 08:53:05 rgrimes Exp $
+ * $Id: cons.h,v 1.6 1994/10/20 00:07:46 phk Exp $
*/
#ifndef _MACHINE_CONS_H_
@@ -66,6 +66,7 @@ struct consdev {
extern struct consdev constab[];
extern struct consdev *cn_tab;
extern struct tty *cn_tty;
+extern int cons_unavail;
struct proc; struct uio;
OpenPOWER on IntegriCloud