Module Name: src
Committed By: matt
Date: Mon Jun 6 21:53:42 UTC 2011
Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: mipsX_subr.S
Log Message:
Make sure to free the TLB when exiting from tlb_invalid_exception
To generate a diff of this commit:
cvs rdiff -u -r1.26.36.1.2.44 -r1.26.36.1.2.45 \
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.26.36.1.2.44 src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.45
--- src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.44 Sat May 28 02:20:13 2011
+++ src/sys/arch/mips/mips/mipsX_subr.S Mon Jun 6 21:53:42 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.44 2011/05/28 02:20:13 matt Exp $ */
+/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.45 2011/06/06 21:53:42 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -1773,6 +1773,10 @@
nop
nop
#endif
+#if defined(MULTIPROCESSOR) && (MIPS64_RMIXL + MIPS64R2_RMIXL) > 0
+ _MFC0 k1, MIPS_COP_0_OSSCRATCH, 2 # get tlblock addr
+ INT_S zero, 0(k1) # clear lock
+#endif
eret
#if defined(MULTIPROCESSOR) && (MIPS64_RMIXL + MIPS64R2_RMIXL) > 0