PERFORCE change 55003 for review
Juli Mallett
jmallett at FreeBSD.org
Tue Jun 15 11:01:51 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=55003
Change 55003 by jmallett at 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.
*/
More information about the p4-projects
mailing list