Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). ...



details:   https://anonhg.NetBSD.org/src/rev/efc58df7c995
branches:  trunk
changeset: 495028:efc58df7c995
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed Jul 19 21:08:06 2000 +0000

description:
Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). This has worked on all CPUs
except for KA88.

diffstat:

 sys/arch/vax/vax/pmap.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r d7fc5dcee503 -r efc58df7c995 sys/arch/vax/vax/pmap.c
--- a/sys/arch/vax/vax/pmap.c   Wed Jul 19 20:46:00 2000 +0000
+++ b/sys/arch/vax/vax/pmap.c   Wed Jul 19 21:08:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.84 2000/06/29 07:14:33 mrg Exp $       */
+/*     $NetBSD: pmap.c,v 1.85 2000/07/19 21:08:06 ragge Exp $     */
 /*
  * Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -749,7 +749,7 @@
        /* No mapping change. Can this happen??? */
        if (newpte == oldpte) {
                RECURSEEND;
-               mtpr(1, PR_TBIA); /* Always; safety belt */
+               mtpr(0, PR_TBIA); /* Always; safety belt */
                return (KERN_SUCCESS);
        }
 
@@ -808,7 +808,7 @@
        if (pventries < 10)
                more_pventries();
 
-       mtpr(1, PR_TBIA); /* Always; safety belt */
+       mtpr(0, PR_TBIA); /* Always; safety belt */
        return (KERN_SUCCESS);
 }
 
@@ -985,7 +985,7 @@
                pts += LTOHPN;
        }
        RECURSEEND;
-       mtpr(1, PR_TBIA);
+       mtpr(0, PR_TBIA);
 }
 
 int pmap_simulref(int bits, int addr);
@@ -1098,7 +1098,7 @@
                    pv->pv_pte[4].pg_v = pv->pv_pte[5].pg_v = 
                    pv->pv_pte[6].pg_v = pv->pv_pte[7].pg_v = 0;
        RECURSEEND;
-       mtpr(1, PR_TBIA);
+       mtpr(0, PR_TBIA);
        return TRUE; /* XXX */
 }
 



Home | Main Index | Thread Index | Old Index