Module Name: src Committed By: matt Date: Mon Aug 24 04:04:53 UTC 2009
Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: mipsX_subr.S Log Message: SyscallCall exception didn't save the temporaries which libc no longer likes. So now it saves them. To generate a diff of this commit: cvs rdiff -u -r1.26.36.1.2.1 -r1.26.36.1.2.2 \ src/sys/arch/mips/mips/mipsX_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/mipsX_subr.S diff -u src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.1 src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.2 --- src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.1 Fri Aug 21 17:50:35 2009 +++ src/sys/arch/mips/mips/mipsX_subr.S Mon Aug 24 04:04:53 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.1 2009/08/21 17:50:35 matt Exp $ */ +/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.2 2009/08/24 04:04:53 matt Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -861,15 +861,15 @@ REG_S a3, FRAME_A3(k1) PTR_L a0, CPUVAR(CURLWP) # 1st arg is curlwp mfhi v1 - #REG_S t0, FRAME_T0(k1) # no need to save temp regs - #REG_S t1, FRAME_T1(k1) - #REG_S t2, FRAME_T2(k1) - #REG_S t3, FRAME_T3(k1) + REG_S t0, FRAME_T0(k1) # no need to save temp regs + REG_S t1, FRAME_T1(k1) + REG_S t2, FRAME_T2(k1) + REG_S t3, FRAME_T3(k1) mfc0 a1, MIPS_COP_0_STATUS # 2nd arg is STATUS - #REG_S ta0, FRAME_TA0(k1) - #REG_S ta1, FRAME_TA1(k1) - #REG_S ta2, FRAME_TA2(k1) - #REG_S ta3, FRAME_TA3(k1) + REG_S ta0, FRAME_TA0(k1) + REG_S ta1, FRAME_TA1(k1) + REG_S ta2, FRAME_TA2(k1) + REG_S ta3, FRAME_TA3(k1) mfc0 a2, MIPS_COP_0_CAUSE # 3rd arg is CAUSE REG_S s0, FRAME_S0(k1) REG_S s1, FRAME_S1(k1)