Date: Fri, 7 Mar 2008 20:12:11 GMT From: "Randall R. Stewart" <rrs@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137109 for review Message-ID: <200803072012.m27KCBM9084264@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137109 Change 137109 by rrs@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803072012.m27KCBM9084264>