PERFORCE change 133684 for review

Warner Losh imp at FreeBSD.org
Sat Jan 19 15:01:42 PST 2008


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

Change 133684 by imp at 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
 


More information about the p4-projects mailing list