Module Name:    src
Committed By:   matt
Date:           Tue Jun  9 14:40:42 UTC 2015

Modified Files:
        src/sys/arch/mips/mips: mipsX_subr.S

Log Message:
Fix corruption of EntryHi (restored from wrong register).


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 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.60 src/sys/arch/mips/mips/mipsX_subr.S:1.61
--- src/sys/arch/mips/mips/mipsX_subr.S:1.60	Sun Jun  7 08:03:10 2015
+++ src/sys/arch/mips/mips/mipsX_subr.S	Tue Jun  9 14:40:42 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: mipsX_subr.S,v 1.60 2015/06/07 08:03:10 matt Exp $	*/
+/*	$NetBSD: mipsX_subr.S,v 1.61 2015/06/09 14:40:42 matt Exp $	*/
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -2482,7 +2482,7 @@ LEAF(MIPSX(tlb_enter))
 	tlbwi					# enter it into the TLB
 	COP0_SYNC
 
-	_MTC0	ta1, MIPS_COP_0_TLB_HI		# restore EntryHi
+	_MTC0	ta0, MIPS_COP_0_TLB_HI		# restore EntryHi
 #ifdef MIPS3_LOONGSON2
 	li	v0, MIPS_DIAG_ITLB_CLEAR
 	mtc0	v0, MIPS_COP_0_DIAG		# invalidate ITLB

Reply via email to