summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-13 23:25:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-13 23:25:00 +0000
commitb7ae01a9113c642633a08534660694f58f6b6276 (patch)
tree6f3c8d06e8e3b969913c8ecf48465c10e7f0468c /sys
parentea1e06cc474831e0e18205972f9e86bfbf490d86 (diff)
Get rid of more unused useless broken invalid constant laughable values.
Also shrink iomap to a more reasonable value for now.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/include/param.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h
index 693c7cf4be1..35f00aed627 100644
--- a/sys/arch/mvme88k/include/param.h
+++ b/sys/arch/mvme88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.32 2004/01/13 21:27:03 miod Exp $ */
+/* $OpenBSD: param.h,v 1.33 2004/01/13 23:24:59 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1988 University of Utah.
@@ -75,9 +75,8 @@
#define NPTEPG (PAGE_SIZE / (sizeof(pt_entry_t)))
/*
- * 187 Bug uses the bottom 64k. We allocate ptes to map this into the
- * kernel. But when we link the kernel, we tell it to start linking
- * past this 64k.
+ * The Bug uses the bottom 64KB. The kernel will allocate PTEs to map this
+ * space, but the kernel must be linked with a start address past these 64KB.
*/
#define KERNBASE 0x00000000 /* start of kernel virtual */
#define KERNTEXTOFF 0x00010000 /* start of kernel text */
@@ -93,15 +92,13 @@
#define UPAGES 8 /* pages of u-area */
#define USPACE (UPAGES * NBPG)
-#define UADDR 0xEEE00000 /* address of u */
-#define UVPN (UADDR>>PGSHIFT) /* virtual page number of u */
-#define KERNELSTACK (UADDR+UPAGES*NBPG) /* top of kernel stack */
+#define UADDR 0xeee00000 /* address of u */
-#define PHYSIO_MAP_START 0xEEF00000
-#define PHYSIO_MAP_SIZE 0x00100000
-#define IOMAP_MAP_START 0xEF000000 /* VME etc */
-#define IOMAP_SIZE 0x018F0000
-#define NIOPMAP 32
+/*
+ * IO space
+ */
+
+#define IOMAP_SIZE 0x01000000 /* roughly 0xff000000 - 0xffffffff */
/*
* Constants related to network buffer management.