summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/param.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-04-02 23:24:13 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-04-02 23:24:13 +0000
commitfbb526ac060a144411bc484e2583951b43605535 (patch)
tree6ef15bcd58ed574f63e29f3c08b1abb5a03e03a5 /sys/arch/i386/include/param.h
parent355b0c1a0eac78aa3e4d8cb9599838398c7e0b55 (diff)
PMAP_NEW is now default behaviour, get old pmap with option PMAP_OLD.
However PMAP_OLD is just there for emergencies, and will go away in the future
Diffstat (limited to 'sys/arch/i386/include/param.h')
-rw-r--r--sys/arch/i386/include/param.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index 6d32250764f..0b49043cd14 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.11 2000/04/07 21:05:05 mjacob Exp $ */
+/* $OpenBSD: param.h,v 1.12 2001/04/02 23:24:12 niklas Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -99,6 +99,12 @@
#define MSGBUFSIZE 2*NBPG /* default message buffer size */
#endif
+#if !defined(PMAP_NEW) && !defined(PMAP_OLD)
+#define PMAP_NEW
+#elif defined(PMAP_NEW) && defined(PMAP_OLD)
+#error Both PMAP_NEW and PMAP_OLD cannot be defined concurrently
+#endif
+
/*
* Constants related to network buffer management.
* MCLBYTES must be no larger than CLBYTES (the software page size), and,