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 off-by-one in tlb_record_asids
details: https://anonhg.NetBSD.org/src/rev/39df7d8082c4
branches: trunk
changeset: 353640:39df7d8082c4
user: skrll <skrll%NetBSD.org@localhost>
date: Mon May 15 10:59:24 2017 +0000
description:
Fix off-by-one in tlb_record_asids
diffstat:
sys/arch/mips/mips/mipsX_subr.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a41afbc88e76 -r 39df7d8082c4 sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S Mon May 15 09:58:22 2017 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S Mon May 15 10:59:24 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mipsX_subr.S,v 1.99 2017/05/07 05:50:39 skrll Exp $ */
+/* $NetBSD: mipsX_subr.S,v 1.100 2017/05/15 10:59:24 skrll Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -2576,7 +2576,7 @@
_MFC0 t0, MIPS_COP_0_TLB_HI # get VA and ASID
MFC0_HAZARD
and t0, t0, MIPS3_PG_ASID # focus on ASID
- bge t0, a1, 4f # >= ASID max? skip
+ bgt t0, a1, 4f # > ASID max? skip
nop
srl a2, t0, 3 + LONG_SCALESHIFT # drop low 5 or 6 bits
Home |
Main Index |
Thread Index |
Old Index