summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-30 12:11:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-30 12:11:36 +0000
commit54d19837527d7d12f05dd8863fad1328a7a8ee6c (patch)
tree0fa14a3426dd60b2efbc758282d9113d675ace3b /sys/arch
parent54557d1ba3e7e1d3586a4f467ad210574df6b4e7 (diff)
Use UVM_FLAG_FIXED for fixed allocations make with uvm_map() during early
bootstrap.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/luna88k/luna88k/machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/m187_machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/m197_machdep.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c
index 6565aa6bdf1..b3d3c602176 100644
--- a/sys/arch/luna88k/luna88k/machdep.c
+++ b/sys/arch/luna88k/luna88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.68 2009/08/11 19:17:16 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.69 2009/08/30 12:11:33 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -443,7 +443,7 @@ cpu_startup()
uvm_map(kernel_map, (vaddr_t *)&obiova, OBIO_SIZE,
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));
if (obiova != OBIO_START)
panic("obiova %lx: OBIO not free", obiova);
diff --git a/sys/arch/mvme88k/mvme88k/m187_machdep.c b/sys/arch/mvme88k/mvme88k/m187_machdep.c
index 7f1643c3968..607c5191814 100644
--- a/sys/arch/mvme88k/mvme88k/m187_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/m187_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m187_machdep.c,v 1.20 2009/03/15 20:39:53 miod Exp $ */
+/* $OpenBSD: m187_machdep.c,v 1.21 2009/08/30 12:11:35 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -102,7 +102,7 @@ m187_startup()
uvm_map(kernel_map, (vaddr_t *)&bugromva, BUG187_SIZE,
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));
if (bugromva != BUG187_START)
panic("bugromva %lx: BUGROM not free", bugromva);
}
diff --git a/sys/arch/mvme88k/mvme88k/m197_machdep.c b/sys/arch/mvme88k/mvme88k/m197_machdep.c
index 17bf913991f..7c3b6e4afa3 100644
--- a/sys/arch/mvme88k/mvme88k/m197_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/m197_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m197_machdep.c,v 1.40 2009/03/15 20:39:53 miod Exp $ */
+/* $OpenBSD: m197_machdep.c,v 1.41 2009/08/30 12:11:35 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -168,7 +168,7 @@ m197_startup()
uvm_map(kernel_map, (vaddr_t *)&flashva, FLASH_SIZE,
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));
if (flashva != FLASH_START)
panic("flashva %lx: FLASH not free", flashva);
@@ -179,7 +179,7 @@ m197_startup()
uvm_map(kernel_map, (vaddr_t *)&obiova, OBIO197_SIZE,
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));
if (obiova != OBIO197_START)
panic("obiova %lx: OBIO not free", obiova);
}