diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-08-29 15:27:34 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-08-29 15:27:34 +0000 |
commit | bd1d57e1e7d32857956f0496b2bc2f60338a7a0a (patch) | |
tree | 4e6ec683d0cf63f22922bcf8c48e751f21c3bb92 /sys | |
parent | 8f55d0c8ec77cdd20779c4ff39e05c91c0cb2144 (diff) |
The intention is to map the dvma map at a fixed address, so specify
UVM_FLAG_FIXED. Makes sparc boot with option KVA_GUARDPAGES.
ok miod@, tested by deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index 3aba61d12dc..3ee479bbd41 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.123 2009/08/11 19:17:17 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.124 2009/08/29 15:27:33 kettenis Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -205,7 +205,7 @@ cpu_startup() vm_map_max(kernel_map) - dvma_base, NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE, - UVM_ADV_NORMAL, 0))) + UVM_ADV_NORMAL, UVM_FLAG_FIXED))) panic("startup: can not steal dvma map"); } #endif |