summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-26 00:06:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-26 00:06:08 +0000
commit8102ec86d426fccfffa292d80d3e50914c22a932 (patch)
tree2acbba3ffa5081ac182c62f0bc5b69fbf3d411d9 /sys
parentd319f73c6db830be4bfbeb301f3527c9f42e888e (diff)
force NKPDE to 31 on all machines until a better fix is available
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/include/pmap.h6
-rw-r--r--sys/arch/i386/include/pmap.old.h6
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h
index 3d032602195..3c836956800 100644
--- a/sys/arch/i386/include/pmap.h
+++ b/sys/arch/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.5 1996/05/09 10:16:47 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.6 1996/05/26 00:06:07 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.23 1996/05/03 19:26:30 christos Exp $ */
/*
@@ -68,9 +68,7 @@
*/
#define PTDPTDI 0x3df /* ptd entry that points to ptd! */
#define KPTDI 0x3e0 /* start of kernel virtual pde's */
-#ifndef NKPDE
-#define NKPDE 12
-#endif
+#define NKPDE 31
#define APTDPTDI 0x3ff /* start of alternate page directory */
/*
diff --git a/sys/arch/i386/include/pmap.old.h b/sys/arch/i386/include/pmap.old.h
index a8f4e413e4c..0a3f15c7ad3 100644
--- a/sys/arch/i386/include/pmap.old.h
+++ b/sys/arch/i386/include/pmap.old.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.old.h,v 1.5 1996/05/09 10:16:47 deraadt Exp $ */
+/* $OpenBSD: pmap.old.h,v 1.6 1996/05/26 00:06:07 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.23 1996/05/03 19:26:30 christos Exp $ */
/*
@@ -68,9 +68,7 @@
*/
#define PTDPTDI 0x3df /* ptd entry that points to ptd! */
#define KPTDI 0x3e0 /* start of kernel virtual pde's */
-#ifndef NKPDE
-#define NKPDE 12
-#endif
+#define NKPDE 31
#define APTDPTDI 0x3ff /* start of alternate page directory */
/*