Module Name: src Committed By: skrll Date: Mon Aug 15 14:45:31 UTC 2016
Modified Files: src/sys/arch/mips/mips: mipsX_subr.S Log Message: Fix copy&pasto shift value - hopefully this will fix LOONGSON/GDIUM To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/mips/mips/mipsX_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/mipsX_subr.S diff -u src/sys/arch/mips/mips/mipsX_subr.S:1.89 src/sys/arch/mips/mips/mipsX_subr.S:1.90 --- src/sys/arch/mips/mips/mipsX_subr.S:1.89 Mon Aug 15 14:44:44 2016 +++ src/sys/arch/mips/mips/mipsX_subr.S Mon Aug 15 14:45:31 2016 @@ -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 @@ VECTOR(MIPSX(tlb_miss), unknown) 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