Date: Thu, 6 Mar 2008 12:32:23 GMT From: "Randall R. Stewart" <rrs@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 136987 for review Message-ID: <200803061232.m26CWNh6084052@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136987 Change 136987 by rrs@rrs-mips2-jnpr on 2008/03/06 12:31:40 Use define's PCREG_XX in setjump/longjump please. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/mips/support.S#8 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/mips/support.S#8 (text+ko) ==== @@ -1411,39 +1411,39 @@ break BREAK_SOVER_VAL jr ra nop -END(breakpoint) + END(breakpoint) LEAF(setjmp) mfc0 v0, COP_0_STATUS_REG # Later the "real" spl value! - STORE s0, RSIZE * 0(a0) - STORE s1, RSIZE * 1(a0) - STORE s2, RSIZE * 2(a0) - STORE s3, RSIZE * 3(a0) - STORE s4, RSIZE * 4(a0) - STORE s5, RSIZE * 5(a0) - STORE s6, RSIZE * 6(a0) - STORE s7, RSIZE * 7(a0) - STORE s8, RSIZE * 8(a0) - STORE sp, RSIZE * 9(a0) - STORE ra, RSIZE * 10(a0) - STORE v0, RSIZE * 11(a0) + STORE s0, (RSIZE * PREG_S0)(a0) + STORE s1, (RSIZE * PREG_S1)(a0) + STORE s2, (RSIZE * PREG_S2)(a0) + STORE s3, (RSIZE * PREG_S3)(a0) + STORE s4, (RSIZE * PREG_S4)(a0) + STORE s5, (RSIZE * PREG_S5)(a0) + STORE s6, (RSIZE * PREG_S6)(a0) + STORE s7, (RSIZE * PREG_S7)(a0) + STORE s8, (RSIZE * PREG_SP)(a0) + STORE sp, (RSIZE * PREG_S8)(a0) + STORE ra, (RSIZE * PREG_RA)(a0) + STORE v0, (RSIZE * PREG_SR)(a0) jr ra li v0, 0 # setjmp return END(setjmp) LEAF(longjmp) - LOAD v0, RSIZE * 11(a0) - LOAD ra, RSIZE * 10(a0) - LOAD s0, RSIZE * 0(a0) - LOAD s1, RSIZE * 1(a0) - LOAD s2, RSIZE * 2(a0) - LOAD s3, RSIZE * 3(a0) - LOAD s4, RSIZE * 4(a0) - LOAD s5, RSIZE * 5(a0) - LOAD s6, RSIZE * 6(a0) - LOAD s7, RSIZE * 7(a0) - LOAD s8, RSIZE * 8(a0) - LOAD sp, RSIZE * 9(a0) + LOAD v0, (RSIZE * PREG_SR)(a0) + LOAD ra, (RSIZE * PREG_RA)(a0) + LOAD s0, (RSIZE * PREG_S0)(a0) + LOAD s1, (RSIZE * PREG_S1)(a0) + LOAD s2, (RSIZE * PREG_S2)(a0) + LOAD s3, (RSIZE * PREG_S3)(a0) + LOAD s4, (RSIZE * PREG_S4)(a0) + LOAD s5, (RSIZE * PREG_S5)(a0) + LOAD s6, (RSIZE * PREG_S6)(a0) + LOAD s7, (RSIZE * PREG_S7)(a0) + LOAD s8, (RSIZE * PREG_S8)(a0) + LOAD sp, (RSIZE * PREG_SP)(a0) mtc0 v0, COP_0_STATUS_REG # Later the "real" spl value! ITLBNOPFIX jr ra
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803061232.m26CWNh6084052>