We use 4K pages on the news68k. Make PAGE_SIZE and friends into
compile-time constants.
This commit is contained in:
parent
ecf0470012
commit
091d40d586
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vmparam.h,v 1.3 2000/02/11 19:30:28 thorpej Exp $ */
|
||||
/* $NetBSD: vmparam.h,v 1.4 2000/11/14 19:23:07 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -49,6 +49,14 @@
|
||||
* Machine dependent constants for news68k
|
||||
*/
|
||||
|
||||
/*
|
||||
* We use 4K pages on the news68k. 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
|
||||
|
Loading…
Reference in New Issue
Block a user