Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/dev Declare the prom stdio nodes and arguments.
details: https://anonhg.NetBSD.org/src/rev/58cf611d0096
branches: trunk
changeset: 483832:58cf611d0096
user: pk <pk%NetBSD.org@localhost>
date: Sun Mar 19 13:25:10 2000 +0000
description:
Declare the prom stdio nodes and arguments.
diffstat:
sys/arch/sparc/dev/cons.h | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (31 lines):
diff -r ef6604f8bfc0 -r 58cf611d0096 sys/arch/sparc/dev/cons.h
--- a/sys/arch/sparc/dev/cons.h Sun Mar 19 13:22:14 2000 +0000
+++ b/sys/arch/sparc/dev/cons.h Sun Mar 19 13:25:10 2000 +0000
@@ -1,17 +1,17 @@
-/* $NetBSD: cons.h,v 1.3 2000/02/12 12:51:03 pk Exp $ */
+/* $NetBSD: cons.h,v 1.4 2000/03/19 13:25:10 pk Exp $ */
-struct consdev;
-struct zs_chanstate;
-
-extern void *zs_conschan;
-
-extern void nullcnprobe __P((struct consdev *));
-
-extern int zs_getc __P((void *arg));
-extern void zs_putc __P((void *arg, int c));
+/*
+ * PROM I/O nodes and arguments are prepared by consinit().
+ * Drivers can examine these when looking for a console device match.
+ */
+extern int prom_stdin_node;
+extern int prom_stdout_node;
+extern char prom_stdin_args[];
+extern char prom_stdout_args[];
#ifdef KGDB
+struct zs_chanstate;
void zs_kgdb_init __P((void));
void zskgdb __P((struct zs_chanstate *));
#endif
Home |
Main Index |
Thread Index |
Old Index