diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-01-12 19:19:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-01-12 19:19:35 +0000 |
commit | 0d4487fe419f565308ab5595eebcf02edc704636 (patch) | |
tree | 4a0fb7d80b0f4384eef3cbf1307111f8cb280d32 /sys/arch/sparc64/include | |
parent | 17ba040d4d84eab68168f731acdaadc98bf5b57a (diff) |
Move kernel virtual address space to make sure it doesn't overlap with
physical memory to avoid problems on UltraSPARC-III and III+.
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/vmparam.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h index d7ffda068dc..4060b2d30ee 100644 --- a/sys/arch/sparc64/include/vmparam.h +++ b/sys/arch/sparc64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.14 2005/04/11 15:13:01 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.15 2007/01/12 19:19:34 kettenis Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */ /* @@ -130,10 +130,9 @@ #define VM_MIN_ADDRESS ((vaddr_t)0) #define VM_MAX_ADDRESS ((vaddr_t)-1) #define VM_MAXUSER_ADDRESS ((vaddr_t)-1) -#define VM_MAXUSER_ADDRESS32 ((vaddr_t)(0x00000000ffffffffL&~PGOFSET)) #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)KERNBASE) -#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)KERNEND) +#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0x000007ffffffffffL) #define VM_PHYSSEG_MAX 32 /* up to 32 segments */ #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH |