From owner-p4-projects@FreeBSD.ORG Thu Feb 1 21:32:33 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1339A16A407; Thu, 1 Feb 2007 21:32:33 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C547916A403 for ; Thu, 1 Feb 2007 21:32:32 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BC0EF13C4B8 for ; Thu, 1 Feb 2007 21:32:32 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l11LWWaG034753 for ; Thu, 1 Feb 2007 21:32:32 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l11LWWgv034748 for perforce@freebsd.org; Thu, 1 Feb 2007 21:32:32 GMT (envelope-from gonzo@FreeBSD.org) Date: Thu, 1 Feb 2007 21:32:32 GMT Message-Id: <200702012132.l11LWWgv034748@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 113863 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 21:32:33 -0000 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)