summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/ka630.h
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-06-11 09:36:25 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-06-11 09:36:25 +0000
commit10ca5e5818bb80e596db244327a2663b6703bb18 (patch)
treec7ac330b34d73ea4e0c78d17a9eed0a3b6df63aa /sys/arch/vax/include/ka630.h
parent180b34af9885b092bee0f67c5b2ac8577d972cfe (diff)
New boot code, mostly from ragge's work in NetBSD.
Some header syncing and a couple network drivers came along for the ride. Assembly files have been renamed from .s to .S to facilitate diffs. Kernel is backwards compat - with manual interaction. OpenBSD features have been preserved.
Diffstat (limited to 'sys/arch/vax/include/ka630.h')
-rw-r--r--sys/arch/vax/include/ka630.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/sys/arch/vax/include/ka630.h b/sys/arch/vax/include/ka630.h
index 79391ab5c8a..f25656bc280 100644
--- a/sys/arch/vax/include/ka630.h
+++ b/sys/arch/vax/include/ka630.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: ka630.h,v 1.4 2000/04/26 03:08:41 bjc Exp $ */
-/* $NetBSD: ka630.h,v 1.4 2000/01/24 02:40:32 matt Exp $ */
+/* $OpenBSD: ka630.h,v 1.5 2002/06/11 09:36:24 hugh 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.
@@ -41,6 +41,7 @@
#define UVAXIISID ((u_long *)0x20040004)
#define UVAXIICPU ((struct uvaxIIcpu *)0x20080000)
+#ifndef _LOCORE
struct uvaxIIcpu {
u_short uvaxII_bdr;
u_short uvaxII_xxx;
@@ -48,6 +49,7 @@ struct uvaxIIcpu {
u_long uvaxII_cear;
u_long uvaxII_dear;
};
+#endif
/* Memory system err reg. */
#define UVAXIIMSER_CD 0x00000300
@@ -121,5 +123,17 @@ struct ka630clock {
};
#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_ */