Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201688
b: refs/heads/master
c: 4a8d57a
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König committed Jun 17, 2010
1 parent 30fec19 commit 43f9b39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88237c25aa4fe0dad177ae11214136ad78bc908f
refs/heads/master: 4a8d57a54fb21f32ee17e0a61ca54c7a6f8f83da
6 changes: 6 additions & 0 deletions trunk/arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,18 @@ __armv3_mpu_cache_on:

mov r0, #0
mcr p15, 0, r0, c7, c0, 0 @ invalidate whole cache v3
/*
* ?? ARMv3 MMU does not allow reading the control register,
* does this really work on ARMv3 MPU?
*/
mrc p15, 0, r0, c1, c0, 0 @ read control reg
@ .... .... .... WC.M
orr r0, r0, #0x000d @ .... .... .... 11.1
/* ?? this overwrites the value constructed above? */
mov r0, #0
mcr p15, 0, r0, c1, c0, 0 @ write control reg

/* ?? invalidate for the second time? */
mcr p15, 0, r0, c7, c0, 0 @ invalidate whole cache v3
mov pc, lr

Expand Down

0 comments on commit 43f9b39

Please sign in to comment.