summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-11-09 14:32:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-11-09 14:32:49 +0000
commitac6ace3cc0649f4340dad22fc88d630aa461e9df (patch)
tree418cb376ec51bd2f2d60f0c3633a899321e31441 /sys
parentbcc9540e13988f3bd4e39ac9db404392e86e8fbd (diff)
Adapt to changed pmap_enter API (the extra argument is a no-op).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sun3/sun3/pmap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sun3/sun3/pmap.c b/sys/arch/sun3/sun3/pmap.c
index 9bb14dbd8e1..3a866377b4a 100644
--- a/sys/arch/sun3/sun3/pmap.c
+++ b/sys/arch/sun3/sun3/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.17 1999/01/11 05:12:06 millert Exp $ */
+/* $OpenBSD: pmap.c,v 1.18 1999/11/09 14:32:48 art Exp $ */
/* $NetBSD: pmap.c,v 1.64 1996/11/20 18:57:35 gwr Exp $ */
/*-
@@ -1621,7 +1621,7 @@ pmap_map(virt, start, end, prot)
int prot;
{
while (start < end) {
- pmap_enter(kernel_pmap, virt, start, prot, FALSE);
+ pmap_enter(kernel_pmap, virt, start, prot, FALSE, 0);
virt += NBPG;
start += NBPG;
}
@@ -2438,12 +2438,13 @@ pmap_enter_user(pmap, va, pa, prot, wired, new_pte)
*/
void
-pmap_enter(pmap, va, pa, prot, wired)
+pmap_enter(pmap, va, pa, prot, wired, access_type)
pmap_t pmap;
vm_offset_t va;
vm_offset_t pa;
vm_prot_t prot;
boolean_t wired;
+ vm_prot_t access_type;
{
int pte_proto;
int s;