Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2008 11:10:54 GMT
From:      "Randall R. Stewart" <rrs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136980 for review
Message-ID:  <200803061110.m26BAsMo080478@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136980

Change 136980 by rrs@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)
  *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803061110.m26BAsMo080478>