Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 11:01:06 GMT
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 55003 for review
Message-ID:  <200406151101.i5FB161l024421@repoman.freebsd.org>

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

Change 55003 by jmallett@jmallett_oingo on 2004/06/15 11:00:14

	Grow back a VCED handler.

Affected files ...

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

Differences ...

==== //depot/projects/mips/sys/mips/mips/exception.S#29 (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#28 $
+ * $P4: //depot/projects/mips/sys/mips/mips/exception.S#29 $
  */
 
 #include "opt_ddb.h"
@@ -78,7 +78,7 @@
 	.dword	GenericException	/* Res (28) */
 	.dword	GenericException	/* Res (29) */
 	.dword	GenericException	/* Res (30) */
-	.dword	GenericException	/* VCED */
+	.dword	VCED			/* VCED */
 
 	.text
 	.set noreorder
@@ -224,6 +224,20 @@
 VEND(XTLBMissVector)
 
 /*
+ * Handle a data-cache virtual coherency error.
+ */
+LEAF(VCED)
+	.set noat
+	dmfc0	k0, MIPS_COP_0_BAD_VADDR
+	dsrl	k0, 4
+	dsll	k0, 4
+	cache	(CACHE_R4K_SD | CACHEOP_R4K_HIT_WB_INV), 0(k0)
+	cache	(CACHE_R4K_D | CACHEOP_R4K_HIT_INV), 0(k0)
+	eret
+	.set at
+END(VCED)
+
+/*
  * Restore registers from a trapframe pointed to in k1, returning to ra
  * that is passed in, and kept in k0.
  */



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