From 882a495192e796f87032714b59a8d8e9ff8982f7 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 9 May 1996 10:16:48 +0000 Subject: 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(-) (limited to 'sys/arch') 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 */ -- cgit v1.2.3