From 3d2726d9920aa32d615059b10510604c9aa886c7 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 14 Nov 2000 19:29:00 +0000 Subject: [PATCH] We use 4K pages on the NeXT. Define PAGE_SIZE and friends to be compile-time constants. --- sys/arch/next68k/include/vmparam.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/arch/next68k/include/vmparam.h b/sys/arch/next68k/include/vmparam.h index fc1f120877ff..97d4731830fe 100644 --- a/sys/arch/next68k/include/vmparam.h +++ b/sys/arch/next68k/include/vmparam.h @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.8 2000/02/11 19:30:28 thorpej Exp $ */ +/* $NetBSD: vmparam.h,v 1.9 2000/11/14 19:29:00 thorpej Exp $ */ /* * This file was taken from from mvme68k/include/vmparam.h and @@ -56,6 +56,14 @@ * Machine dependent constants for NEXT68K */ +/* + * We use 4K pages on the NeXT. Override the PAGE_* definitions + * to be compile-time constants. + */ +#define PAGE_SHIFT 12 +#define PAGE_SIZE (1 << PAGE_SHIFT) +#define PAGE_MASK (PAGE_SIZE - 1) + /* * USRTEXT is the start of the user text/data space, while USRSTACK * is the top (end) of the user stack. LOWPAGES and HIGHPAGES are