summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-20 02:47:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-20 02:47:44 +0000
commitc5ae4140ddb41f07ddc572eb4a68301bf83406af (patch)
treefda0ee98b5dc2f030e4a92f8a73544eb83fade1b /sys/arch/i386/include
parentc539e5fc6612c636b301fbc9a8f345f2341a945a (diff)
permit config file overriding of NKPDE
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/pmap.h4
-rw-r--r--sys/arch/i386/include/pmap.old.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h
index 233ab22a5bb..fdc7cbf9698 100644
--- a/sys/arch/i386/include/pmap.h
+++ b/sys/arch/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.11 1999/09/17 16:52:05 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.12 1999/09/20 02:47:43 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.23 1996/05/03 19:26:30 christos Exp $ */
/*
@@ -70,7 +70,9 @@
#define PTDPTDI (KPTDI-1) /* ptd entry that points to ptd! */
#define APTDPTDI 0x3ff /* start of alternate page directory */
#define MAXKPDE (APTDPTDI-KPTDI)
+#ifndef NKPDE /* permit config file override */
#define NKPDE 127 /* # to static alloc */
+#endif
/*
* Address of current and alternate address space page table maps
diff --git a/sys/arch/i386/include/pmap.old.h b/sys/arch/i386/include/pmap.old.h
index 53440f158e4..2965a1258fb 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.11 1999/09/17 16:52:05 deraadt Exp $ */
+/* $OpenBSD: pmap.old.h,v 1.12 1999/09/20 02:47:43 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.23 1996/05/03 19:26:30 christos Exp $ */
/*
@@ -70,7 +70,9 @@
#define PTDPTDI (KPTDI-1) /* ptd entry that points to ptd! */
#define APTDPTDI 0x3ff /* start of alternate page directory */
#define MAXKPDE (APTDPTDI-KPTDI)
+#ifndef NKPDE /* permit config file override */
#define NKPDE 127 /* # to static alloc */
+#endif
/*
* Address of current and alternate address space page table maps