From 220b08b1280ee47bf03a287c93be0d7e033b6679 Mon Sep 17 00:00:00 2001 From: simonb Date: Fri, 8 Nov 2002 00:49:32 +0000 Subject: [PATCH] Sprinkle a little more COP0_SYNC (in an unused function...). --- sys/arch/mips/mips/locore_mips3.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/mips/mips/locore_mips3.S b/sys/arch/mips/mips/locore_mips3.S index 8ae99f0097ec..3fe3512fa20f 100644 --- a/sys/arch/mips/mips/locore_mips3.S +++ b/sys/arch/mips/mips/locore_mips3.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore_mips3.S,v 1.83 2002/09/09 02:32:38 simonb Exp $ */ +/* $NetBSD: locore_mips3.S,v 1.84 2002/11/08 00:49:32 simonb Exp $ */ /* * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author) @@ -483,6 +483,7 @@ LEAF(badaddr64) mfc0 t0, MIPS_COP_0_STATUS or t1, t0, MIPS3_SR_KX mtc0 t1, MIPS_COP_0_STATUS + COP0_SYNC #if _BYTE_ORDER == _BIG_ENDIAN dsll a0, a0, 32 # high word in a0 @@ -513,6 +514,7 @@ LEAF(badaddr64) ld v0, (a0) 9: mtc0 t0, MIPS_COP_0_STATUS # Restore KX + COP0_SYNC sw zero, U_PCB_ONFAULT(v1) j ra move v0, zero # made it w/o errors @@ -520,6 +522,7 @@ END(badaddr64) LEAF(baderr64) mtc0 t0, MIPS_COP_0_STATUS # Restore KX + COP0_SYNC sw zero, U_PCB_ONFAULT(v1) j ra li v0, -1