PERFORCE change 113863 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Feb 1 21:32:33 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113863

Change 113863 by gonzo at 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)
 
 
 


More information about the p4-projects mailing list