We use 4K pages on the hp300. Make PAGE_SIZE and friends
compile-time constants.
This commit is contained in:
parent
e6da7eebba
commit
186d9e105e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vmparam.h,v 1.21 2000/02/11 19:25:15 thorpej Exp $ */
|
||||
/* $NetBSD: vmparam.h,v 1.22 2000/11/14 19:03:22 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -49,6 +49,14 @@
|
||||
* Machine dependent constants for HP300
|
||||
*/
|
||||
|
||||
/*
|
||||
* We use 4K pages on the hp300. 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