diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-08 02:24:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-08 02:24:08 +0000 |
commit | 9d60d5abd9786f2184ff5714f221264c291225aa (patch) | |
tree | 71197001dc10102fc702df7ebc630748f8f40d9e /sys/arch/vax | |
parent | 76e77305cc16957c8ab6b04545a4d21c35a51adb (diff) |
Sprinkle pmap_update calls where relevant and some other
misc pmap usage fixes.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/vax/bus_dma.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vax/machdep.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vax/pmap.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vax/vm_machdep.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/vax/vax/bus_dma.c b/sys/arch/vax/vax/bus_dma.c index b5c644a7116..d067b6d14fd 100644 --- a/sys/arch/vax/vax/bus_dma.c +++ b/sys/arch/vax/vax/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.7 2001/11/28 16:24:26 art Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.8 2001/12/08 02:24:07 art Exp $ */ /* $NetBSD: bus_dma.c,v 1.5 1999/11/13 00:32:20 thorpej Exp $ */ /*- @@ -475,6 +475,7 @@ _bus_dmamem_map(t, segs, nsegs, size, kvap, flags) VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED); } } + pmap_update(pmap_kernel()); return (0); } diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c index 71ab2b0f336..84b50995374 100644 --- a/sys/arch/vax/vax/machdep.c +++ b/sys/arch/vax/vax/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.47 2001/11/28 16:13:29 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.48 2001/12/08 02:24:07 art Exp $ */ /* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */ /* @@ -250,6 +250,7 @@ cpu_startup() curbufsize -= PAGE_SIZE; } } + pmap_update(kernel_map->pmap); /* * Allocate a submap for exec arguments. This map effectively limits diff --git a/sys/arch/vax/vax/pmap.c b/sys/arch/vax/vax/pmap.c index c71c0c6ec03..09602b5ff57 100644 --- a/sys/arch/vax/vax/pmap.c +++ b/sys/arch/vax/vax/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.27 2001/11/28 14:20:16 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.28 2001/12/08 02:24:07 art Exp $ */ /* $NetBSD: pmap.c,v 1.74 1999/11/13 21:32:25 matt Exp $ */ /* * Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden. @@ -706,6 +706,7 @@ if (startpmapdebug) bzero((caddr_t)(phys|KERNBASE), NBPG); pmap_kenter_pa(ptaddr, phys, VM_PROT_READ|VM_PROT_WRITE); + pmap_update(pmap_kernel()); } } if (flags & PMAP_WIRED) diff --git a/sys/arch/vax/vax/vm_machdep.c b/sys/arch/vax/vax/vm_machdep.c index 2e016044908..e5b51c57db8 100644 --- a/sys/arch/vax/vax/vm_machdep.c +++ b/sys/arch/vax/vax/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.28 2001/11/17 05:07:55 hugh Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.29 2001/12/08 02:24:07 art Exp $ */ /* $NetBSD: vm_machdep.c,v 1.67 2000/06/29 07:14:34 mrg Exp $ */ /* @@ -335,6 +335,7 @@ vmapbuf(bp, len) faddr += PAGE_SIZE; taddr += PAGE_SIZE; } + pmap_update(vm_map_pmap(phys_map)); #endif } |