diff options
author | 1999-09-20 02:47:43 +0000 | |
---|---|---|
committer | 1999-09-20 02:47:43 +0000 | |
commit | 9aae6a0fd1a07f785fa2f70900dd23d7461422e7 (patch) | |
tree | ed4ff62313a8290a49fd4cd41a5d5fbe5ed775fc | |
parent | another place that needs cranking at release time (diff) | |
download | wireguard-openbsd-9aae6a0fd1a07f785fa2f70900dd23d7461422e7.tar.xz wireguard-openbsd-9aae6a0fd1a07f785fa2f70900dd23d7461422e7.zip |
permit config file overriding of NKPDE
-rw-r--r-- | sys/arch/i386/include/pmap.h | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/pmap.old.h | 4 |
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 |