Date: Sat, 19 Jan 2008 23:01:41 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133684 for review Message-ID: <200801192301.m0JN1fdF001813@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133684 Change 133684 by imp@imp_lighthouse on 2008/01/19 23:01:26 Remove my hack, and the stray .set at which was the real problem. Juli suggested that I didn't want to do my hack because at would be corrupted potentially by the assembler using it. She suggested I wanted to use the whole thing as 'set noat'. Submitted by: jmallet Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/mips/exception.S#5 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/mips/exception.S#5 (text+ko) ==== @@ -421,7 +421,6 @@ SAVE_U_PCB_REG(a3, PC, k1) sw a3, STAND_RA_OFFSET(sp) # for debugging la gp, _C_LABEL(_gp) # switch to kernel GP - .set at # Turn off fpu and enter kernel mode and t0, a0, ~(SR_COP_1_BIT | SR_EXL | SR_KSU_MASK | SR_INT_ENAB) mtc0 t0, COP_0_STATUS_REG @@ -453,10 +452,7 @@ mtlo t0 mthi t1 RESTORE_U_PCB_REG(a0, PC, a1) - .set push - .set noat RESTORE_U_PCB_REG(AT, AST, a1) - .set pop RESTORE_U_PCB_REG(v0, V0, a1) dmtc0 a0, COP_0_EXC_PC # set return address
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801192301.m0JN1fdF001813>