Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 16:28:10 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 48838 for review
Message-ID:  <200403130028.i2D0SA2Q034490@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48838

Change 48838 by jmallett@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403130028.i2D0SA2Q034490>