Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/thorpej-mips-cache]: src/sys/arch/mips/mips sync with trunk (rev. 1.135).



details:   https://anonhg.NetBSD.org/src/rev/d9ac0c8f24bf
branches:  thorpej-mips-cache
changeset: 516472:d9ac0c8f24bf
user:      shin <shin%NetBSD.org@localhost>
date:      Sun Nov 11 03:47:38 2001 +0000

description:
sync with trunk (rev. 1.135).
fix virtual alias problem in pmap_copy_page().

diffstat:

 sys/arch/mips/mips/pmap.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r d90c1f87e9d4 -r d9ac0c8f24bf sys/arch/mips/mips/pmap.c
--- a/sys/arch/mips/mips/pmap.c Sun Nov 11 03:44:06 2001 +0000
+++ b/sys/arch/mips/mips/pmap.c Sun Nov 11 03:47:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.134.2.2 2001/11/04 03:41:24 shin Exp $      */
+/*     $NetBSD: pmap.c,v 1.134.2.3 2001/11/11 03:47:38 shin Exp $      */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.134.2.2 2001/11/04 03:41:24 shin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.134.2.3 2001/11/11 03:47:38 shin Exp $");
 
 /*
  *     Manages physical address maps.
@@ -1628,8 +1628,10 @@
         *
         * XXXJRT -- This is totally disgusting.
         */
-       if (CPUISMIPS3)
+       if (CPUISMIPS3) {
+               mips_dcache_wbinv_range(MIPS_PHYS_TO_KSEG0(src), NBPG);
                mips_dcache_wbinv_range(MIPS_PHYS_TO_KSEG0(dst), NBPG);
+       }
 #endif
 }
 



Home | Main Index | Thread Index | Old Index