summaryrefslogtreecommitdiffstats
path: root/sys/sys/cons.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-20 00:08:31 +0000
committerphk <phk@FreeBSD.org>1994-10-20 00:08:31 +0000
commitc006d3d459bea4c55979f37246a972aa62af5074 (patch)
treed9db131bb2c95c74c890049903663fc06ceb8d34 /sys/sys/cons.h
parentc5bd2be246c76a1d84e3c48edca810e6f637312e (diff)
downloadFreeBSD-src-c006d3d459bea4c55979f37246a972aa62af5074.zip
FreeBSD-src-c006d3d459bea4c55979f37246a972aa62af5074.tar.gz
Peter Dufaults comconsole changes.
Submitted by: Peter Dufault
Diffstat (limited to 'sys/sys/cons.h')
-rw-r--r--sys/sys/cons.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/cons.h b/sys/sys/cons.h
index 2766193..1e1b2f2 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.3 1993/11/07 17:41:33 wollman Exp $
+ * $Id: cons.h,v 1.5 1994/05/25 08:53:05 rgrimes Exp $
*/
#ifndef _MACHINE_CONS_H_
@@ -46,6 +46,7 @@ struct consdev {
int (*cn_probe)(); /* probe hardware and fill in consdev info */
int (*cn_init)(); /* turn on as console */
int (*cn_getc)(); /* kernel getchar interface */
+ int (*cn_checkc)(); /* kernel "return char if available" interface */
int (*cn_putc)(); /* kernel putchar interface */
struct tty *cn_tp; /* tty structure for console device */
dev_t cn_dev; /* major/minor of device */
@@ -79,6 +80,7 @@ extern int cnselect(dev_t, int, struct proc *);
/* other kernel entry points */
extern void cninit(void);
extern int cngetc(void);
+extern int cncheckc(void);
extern void cnputc(int /*char*/);
extern int pg(const char *, ...);
OpenPOWER on IntegriCloud