Minor style fixes and better comments.

This commit is contained in:
raj 2009-04-16 11:21:52 +00:00
parent 9269d82b19
commit 19bb292c8e
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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 */