PERFORCE change 136980 for review

Randall R. Stewart rrs at FreeBSD.org
Thu Mar 6 11:10:56 UTC 2008


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

Change 136980 by rrs at rrs-mips2-jnpr on 2008/03/06 11:10:50

	get rid of getsr and setsr, no one uses these routines
	       and they are questionable at best since the sr should
	       not be blindly set.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/psraccess.S#9 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/psraccess.S#9 (text+ko) ====

@@ -181,23 +181,6 @@
 
 END(get_intr_mask)
 
-	
-
-LEAF(getsr)
-	mfc0	v0, COP_0_STATUS_REG
-	MIPS_CPU_NOP_DELAY
-	jr	ra
-	nop
-END(getsr)
-
-LEAF(setsr)
-	mtc0	a0, COP_0_STATUS_REG
-	MIPS_CPU_NOP_DELAY
-	move	v0, a0
-	jr	ra
-	nop
-END(setsr)
-
 /*
  * u_int32_t mips_cp0_config1_read(void)
  *


More information about the p4-projects mailing list