Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2004 07:36:50 GMT
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 54799 for review
Message-ID:  <200406130736.i5D7ao31056031@repoman.freebsd.org>

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

Change 54799 by jmallett@jmallett_oingo on 2004/06/13 07:35:58

	Ignore return value of trap()

Affected files ...

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

Differences ...

==== //depot/projects/mips/sys/mips/mips/exception.S#28 (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#27 $
+ * $P4: //depot/projects/mips/sys/mips/mips/exception.S#28 $
  */
 
 #include "opt_ddb.h"
@@ -129,8 +129,6 @@
 	 * trapframe, cause, badvaddr.
 	 *
 	 * The trapframe is copied from k1 to a0 in the BDslot.
-	 *
-	 * trap returns the frame.
 	 */
 	mfc0	a1, MIPS_COP_0_CAUSE
 	dmfc0	a2, MIPS_COP_0_BAD_VADDR
@@ -145,7 +143,7 @@
 	li	t0, MIPS_SR_KX
 	mtc0	t0, MIPS_COP_0_STATUS
 
-	move	k1, v0
+	move	k1, sp
 	jal	exception_restore_registers
 	nop
 	daddu	sp, sp, TF_SIZE



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