We use 4K pages on the x86k. Make PAGE_SIZE and friends into

compile-time constants.
This commit is contained in:
thorpej 2000-11-14 19:47:25 +00:00
parent 99fac6ed3e
commit eff2f3d04f
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.14 2000/02/11 19:30:30 thorpej Exp $ */
/* $NetBSD: vmparam.h,v 1.15 2000/11/14 19:47:25 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -48,6 +48,15 @@
/*
* Machine dependent constants for X68K
*/
/*
* We use 4K pages on the X86K. 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