We use 8K pages on the Amiga. Make PAGE_SIZE and friends into

compile-time constants.
This commit is contained in:
thorpej 2000-11-14 18:58:29 +00:00
parent cb38ab39ab
commit f74dfc7755
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.26 2000/02/14 20:23:20 is Exp $ */ /* $NetBSD: vmparam.h,v 1.27 2000/11/14 18:58:29 thorpej Exp $ */
/* /*
* Copyright (c) 1988 University of Utah. * Copyright (c) 1988 University of Utah.
@ -49,6 +49,15 @@
/* /*
* Machine dependent constants for HP300 * Machine dependent constants for HP300
*/ */
/*
* We use 8K pages on the Amiga. Override the PAGE_* definitions
* to be compie-time constants.
*/
#define PAGE_SHIFT 13
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
/* /*
* USRTEXT is the start of the user text/data space, while USRSTACK * USRTEXT is the start of the user text/data space, while USRSTACK
* is the top (end) of the user stack. LOWPAGES and HIGHPAGES are * is the top (end) of the user stack. LOWPAGES and HIGHPAGES are