diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-28 20:28:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-28 20:28:29 +0000 |
commit | c8b6a5a1833d4c4122625d7d7e17ebad9b4b9a5e (patch) | |
tree | 514dc4bcc946d42779d1738595fcb28b97c66cbd /sys/arch/mips64 | |
parent | a8487c1e24b95afd8f4f2bbcf22214b227a396d2 (diff) |
Allow mips64-based ports to override the default mips64 VM_PHYSSEG_STRAT
strategy value (BSEARCH); use BIGFIRST on loongson since there are only up
to two memory segments.
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/include/vmparam.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/mips64/include/vmparam.h b/sys/arch/mips64/include/vmparam.h index 11a74aa4771..ff82d6769ec 100644 --- a/sys/arch/mips64/include/vmparam.h +++ b/sys/arch/mips64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.20 2009/12/08 22:15:47 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.21 2010/11/28 20:28:28 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp $ */ /* @@ -44,11 +44,7 @@ /* * Machine dependent constants mips processors. */ -/* - * USRTEXT is the start of the user text/data space, while USRSTACK - * is the top (end) of the user stack. - */ -#define USRTEXT 0x0000000000400000L + #define USRSTACK VM_MAXUSER_ADDRESS /* Start of user stack */ /* @@ -91,7 +87,9 @@ #ifndef VM_PHYSSEG_MAX #define VM_PHYSSEG_MAX 8 /* Max number of physical memory segments */ #endif +#ifndef VM_PHYSSEG_STRAT #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH +#endif #define VM_PHYSSEG_NOADD /* user/kernel map constants */ |