From 8f78667f97f12aae8a41611589a27e8e06119fca Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 9 May 1996 10:16:47 +0000 Subject: [PATCH] allow config file to override NKPDE (yuck) --- sys/arch/i386/include/pmap.h | 6 ++---- sys/arch/i386/include/pmap.old.h | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index 157c6f55b8a..3d032602195 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.4 1996/05/07 07:22:09 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.5 1996/05/09 10:16:47 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 */ -#ifdef BABY -#define NKPDE 31 -#else +#ifndef NKPDE #define NKPDE 12 #endif #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 bf8f761ddeb..a8f4e413e4c 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.4 1996/05/07 07:22:09 deraadt Exp $ */ +/* $OpenBSD: pmap.old.h,v 1.5 1996/05/09 10:16:47 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 */ -#ifdef BABY -#define NKPDE 31 -#else +#ifndef NKPDE #define NKPDE 12 #endif #define APTDPTDI 0x3ff /* start of alternate page directory */ -- 2.20.1