PERFORCE change 137109 for review
Randall R. Stewart
rrs at FreeBSD.org
Fri Mar 7 20:12:12 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=137109
Change 137109 by rrs at rrs-mips2-jnpr on 2008/03/07 20:11:27
Changes octeon specific to set/get
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/support.S#9 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/support.S#9 (text+ko) ====
@@ -1488,31 +1488,32 @@
#ifdef TARGET_OCTEON
/*
- * octeon_set_unaligned(addr)
+ * octeon_set_control(addr, uint32_t val)
*/
-LEAF(octeon_set_unaligned)
+LEAF(octeon_set_control)
.set mips64r2
+ or t1, a1, zero
/* dmfc0 a1, 9, 7*/
.word 0x40254807
sd a1, 0(a0)
- or a1, a1, (OCTEON_UNALIGNED_ACCESS)
+ or a1, t1, zero
/* dmtc0 a1, 9, 7*/
.word 0x40a54807
jr ra
nop
.set mips0
-END(octeon_set_unaligned)
+END(octeon_set_control)
-LEAF(octeon_clr_unaligned)
+/*
+ * octeon_get_control(addr)
+ */
+LEAF(octeon_get_control)
.set mips64r2
/* dmfc0 a1, 9, 7 */
.word 0x40254807
sd a1, 0(a0)
- and a1, a1, ~(OCTEON_UNALIGNED_ACCESS)
-/* dmtc0 a1, 9, 7 */
- .word 0x40a54807
jr ra
nop
.set mips0
-END(octeon_clr_unaligned)
+END(octeon_get_control)
#endif
More information about the p4-projects
mailing list