Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 21:32:32 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 113863 for review
Message-ID:  <200702012132.l11LWWgv034748@repoman.freebsd.org>

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

Change 113863 by gonzo@gonzo_jeeves on 2007/02/01 21:32:21

	o Add $fp and $gp to exception_save_registers and 
	    exception_restore_registers.

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/exception.S#18 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/mips/exception.S#18 (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/mips2/src/sys/mips/mips/exception.S#17 $
+ * $P4: //depot/projects/mips2/src/sys/mips/mips/exception.S#18 $
  */
 
 /*	$NetBSD: mipsX_subr.S,v 1.19 2005/12/11 12:18:09 christos Exp $	*/
@@ -784,6 +784,7 @@
 	lw	s5, TF_REG_S5(k1)
 	lw	s6, TF_REG_S6(k1)
 	lw	s7, TF_REG_S7(k1)
+	lw	s8, TF_REG_S8(k1)
 
 
 
@@ -809,9 +810,9 @@
 	lw	a0, TF_REG_A0(k1)
 	lw	v1, TF_REG_V1(k1)
 	lw	v0, TF_REG_V0(k1)
+	lw	gp, TF_REG_GP(k1)
 	lw	sp, TF_REG_SP(k1)
 
-
 	/*
 	 * We are done with the assembler temporary, restore it, and
 	 * return with it disabled, just in case.
@@ -860,6 +861,7 @@
 	sw	s5, TF_REG_S5(k1)
 	sw	s6, TF_REG_S6(k1)
 	sw	s7, TF_REG_S7(k1)
+	sw	s8, TF_REG_S8(k1)
 
 	/*
 	 * Brief interlude.
@@ -897,6 +899,7 @@
 	 * initial subtraction for the trapframe.
 	 */
 	sw	sp, TF_REG_SP(k1)
+	sw	gp, TF_REG_GP(k1)
 
 
 



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