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 Fix copy&pasto shift value - hopefully th...



details:   https://anonhg.NetBSD.org/src/rev/74b1935bce4d
branches:  trunk
changeset: 347136:74b1935bce4d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Aug 15 14:45:31 2016 +0000

description:
Fix copy&pasto shift value - hopefully this will fix LOONGSON/GDIUM

diffstat:

 sys/arch/mips/mips/mipsX_subr.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2a7cb9c71b6b -r 74b1935bce4d sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Mon Aug 15 14:44:44 2016 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Mon Aug 15 14:45:31 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.89 2016/08/15 14:44:44 skrll Exp $    */
+/*     $NetBSD: mipsX_subr.S,v 1.90 2016/08/15 14:45:31 skrll Exp $    */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -373,7 +373,7 @@
        nop                                     #01: nop
        PTR_SRL k1, k0, 31                      #02: clear useg bits
        beqz    k1, 2f                          #03: k1==0 -> useg address
-        PTR_SRL k1,k0,XSEGSHIFT+XSEGLENGTH+2   #04: clear valid bits
+        PTR_SRL k1,k0,XSEGSHIFT+XSEGLENGTH     #04: clear valid bits
        bnez    k1, MIPSX(nopagetable)          #05: not legal address
         PTR_SRL k0, XSEGSHIFT - PTR_SCALESHIFT #06: k0=seg offset (almost)
        bgez    k0, 1f                          #07: k0<0 -> kernel fault



Home | Main Index | Thread Index | Old Index