PERFORCE change 48838 for review

Juli Mallett jmallett at FreeBSD.org
Fri Mar 12 16:28:12 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=48838

Change 48838 by jmallett at jmallett_oingo on 2004/03/12 16:27:10

	Go back to panicky Cache Vector now that I'm not switching
	between cached and uncached accesses like an idiot.

Affected files ...

.. //depot/projects/mips/sys/mips/mips/exception.S#20 edit

Differences ...

==== //depot/projects/mips/sys/mips/mips/exception.S#20 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/mips/sys/mips/mips/exception.S#19 $
+ * $P4: //depot/projects/mips/sys/mips/mips/exception.S#20 $
  */
 
 #include "opt_ddb.h"
@@ -142,14 +142,17 @@
 
 LEAF(CacheVector)
 	.set noat
-	mfc0	k0, MIPS_COP_0_CONFIG
-	li	k1, MIPS_SR_DIAG_PE
-	and	k0, k1
-	mtc0	k0, MIPS_COP_0_CONFIG
-	nop
+	dla	k0, __panic
+	li	a0, 0
+	li	a1, 0
+	dmtc0	k0, MIPS_COP_0_EXC_PC
+	dla	a2, 1f
 	eret
 	.set at
 VEND(CacheVector)
+	.data
+1:	.asciiz "Cache Vector"
+	.text
 
 LEAF(TLBMissVector)
 	.set noat


More information about the p4-projects mailing list