Date: Thu, 16 Apr 2009 11:21:52 +0000 (UTC) From: Rafal Jaworowski <raj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r191141 - head/sys/arm/arm Message-ID: <200904161121.n3GBLqXC078782@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: raj Date: Thu Apr 16 11:21:52 2009 New Revision: 191141 URL: http://svn.freebsd.org/changeset/base/191141 Log: Minor style fixes and better comments. Modified: head/sys/arm/arm/cpufunc_asm_armv5_ec.S head/sys/arm/arm/cpufunc_asm_sheeva.S Modified: head/sys/arm/arm/cpufunc_asm_armv5_ec.S ============================================================================== --- head/sys/arm/arm/cpufunc_asm_armv5_ec.S Thu Apr 16 11:20:18 2009 (r191140) +++ head/sys/arm/arm/cpufunc_asm_armv5_ec.S Thu Apr 16 11:21:52 2009 (r191141) @@ -204,3 +204,4 @@ ENTRY(armv5_ec_dcache_wbinv_all) bne 1b /* More to do? */ mcr p15, 0, r0, c7, c10, 4 /* drain the write buffer */ RET + Modified: head/sys/arm/arm/cpufunc_asm_sheeva.S ============================================================================== --- head/sys/arm/arm/cpufunc_asm_sheeva.S Thu Apr 16 11:20:18 2009 (r191140) +++ head/sys/arm/arm/cpufunc_asm_sheeva.S Thu Apr 16 11:21:52 2009 (r191141) @@ -375,6 +375,14 @@ ENTRY(sheeva_l2cache_wbinv_all) mcr p15, 0, r0, c7, c10, 4 /* drain the write buffer */ RET +/* This function modifies register value as follows: + * + * arg1 arg EFFECT (bit value saved into register) + * 0 0 not changed + * 0 1 negated + * 1 0 cleared + * 1 1 set + */ ENTRY(sheeva_control_ext) mrc p15, 1, r3, c15, c1, 0 /* Read the control register */ bic r2, r3, r0 /* Clear bits */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904161121.n3GBLqXC078782>