Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Switch back to kenter_pa/kremove
details: https://anonhg.NetBSD.org/src/rev/8d2188b09265
branches: trunk
changeset: 535133:8d2188b09265
user: matt <matt%NetBSD.org@localhost>
date: Sun Aug 11 02:17:30 2002 +0000
description:
Switch back to kenter_pa/kremove
diffstat:
sys/arch/powerpc/powerpc/vm_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 25433459383f -r 8d2188b09265 sys/arch/powerpc/powerpc/vm_machdep.c
--- a/sys/arch/powerpc/powerpc/vm_machdep.c Sun Aug 11 01:35:10 2002 +0000
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c Sun Aug 11 02:17:30 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.42 2002/08/10 18:49:56 matt Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.43 2002/08/11 02:17:30 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -371,7 +371,7 @@
* Use pmap_enter so the referenced and modified bits are
* appropriately set.
*/
- pmap_enter(pmap_kernel(), taddr, pa, prot, prot|PMAP_WIRED);
+ pmap_kenter_pa(taddr, pa, prot);
faddr += NBPG;
taddr += NBPG;
}
@@ -400,7 +400,7 @@
* Since the pages were entered by pmap_enter, use pmap_remove
* to remove them.
*/
- pmap_remove(pmap_kernel(), addr, addr + len);
+ pmap_kremove(addr, len);
pmap_update(pmap_kernel());
uvm_km_free_wakeup(phys_map, addr, len);
bp->b_data = bp->b_saveaddr;
Home |
Main Index |
Thread Index |
Old Index