Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/include Move KA630 definitions from boot/boot/c...



details:   https://anonhg.NetBSD.org/src/rev/8f3322baf4d3
branches:  trunk
changeset: 494986:8f3322baf4d3
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 19 01:01:58 2000 +0000

description:
Move KA630 definitions from boot/boot/consio.c to here.

diffstat:

 sys/arch/vax/include/ka630.h |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 669137581f57 -r 8f3322baf4d3 sys/arch/vax/include/ka630.h
--- a/sys/arch/vax/include/ka630.h      Wed Jul 19 01:01:02 2000 +0000
+++ b/sys/arch/vax/include/ka630.h      Wed Jul 19 01:01:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ka630.h,v 1.4 2000/01/24 02:40:32 matt Exp $ */
+/*     $NetBSD: ka630.h,v 1.5 2000/07/19 01:01:58 matt Exp $ */
 /*-
  * Copyright (c) 1986, 1988 The Regents of the University of California.
  * All rights reserved.
@@ -40,6 +40,7 @@
 #define UVAXIISID      ((u_long *)0x20040004)
 #define UVAXIICPU      ((struct uvaxIIcpu *)0x20080000)
 
+#ifndef _LOCORE
 struct uvaxIIcpu {
        u_short uvaxII_bdr;
        u_short uvaxII_xxx;
@@ -47,6 +48,7 @@
        u_long  uvaxII_cear;
        u_long  uvaxII_dear;
 };
+#endif
 
 /* Memory system err reg. */
 #define        UVAXIIMSER_CD   0x00000300
@@ -120,5 +122,17 @@
 };
 #endif
 
+#define KA630_NVR_ADRS 0x200B8024
+/* Definitions for various locations in the KA630 console page */
+#define KA630_PUTC_POLL 0x20
+#define KA630_PUTC     0x24
+#define KA630_GETC     0x1C
+#define KA630_ROW      0x4C
+#define KA630_MINROW   0x4D
+#define KA630_MAXROW   0x4E
+#define KA630_COL      0x50
+#define KA630_MINCOL   0x51
+#define KA630_MAXCOL   0x52
+
 #endif /* _VAX_INCLUDE_KA630_H_ */
 



Home | Main Index | Thread Index | Old Index