Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips When entering a read-only page for MIPS3, ...



details:   https://anonhg.NetBSD.org/src/rev/8c720993ff22
branches:  trunk
changeset: 473581:8c720993ff22
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Tue Jun 08 03:44:18 1999 +0000

description:
When entering a read-only page for MIPS3, va does not need to be adjusted by PAGE_SIZE
when flushing the I-cache.

diffstat:

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

diffs (27 lines):

diff -r d61d48f7495a -r 8c720993ff22 sys/arch/mips/mips/pmap.c
--- a/sys/arch/mips/mips/pmap.c Tue Jun 08 03:08:32 1999 +0000
+++ b/sys/arch/mips/mips/pmap.c Tue Jun 08 03:44:18 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.65 1999/05/27 01:56:34 nisimura Exp $       */
+/*     $NetBSD: pmap.c,v 1.66 1999/06/08 03:44:18 mhitch Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.65 1999/05/27 01:56:34 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.66 1999/06/08 03:44:18 mhitch Exp $");
 
 /*
  *     Manages physical address maps.
@@ -1326,7 +1326,7 @@
                        printf("pmap_enter: flush I cache va %lx (%lx)\n",
                            va - NBPG, pa);
 #endif
-               MachFlushICache(va - NBPG, PAGE_SIZE);
+               MachFlushICache(va, PAGE_SIZE);
        }
 #endif
 }



Home | Main Index | Thread Index | Old Index