freemyipod r367 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r366‎ | r367 | r368 >
Date:01:36, 21 December 2010
Author:theseven
Status:new
Tags:
Comment:
UMSboot: Backport instruction cache fixes from emBIOS
Modified paths:
  • /umsboot/arm/contextswitch.S (modified) (history)
  • /umsboot/target/ipodclassic/crt0.S (modified) (history)
  • /umsboot/target/ipodnano2g/crt0.S (modified) (history)

Diff [purge]

Index: umsboot/arm/contextswitch.S
@@ -54,7 +54,7 @@
5555 ldr r1, [sp], #4
5656 msr cpsr_c, #0xd3
5757 mrc p15, 0, r0,c1,c0
58 - bic r0, r0, #1
 58+ bic r0, r0, #5
5959 mcr p15, 0, r0,c1,c0
6060 mcr p15, 0, r0,c7,c5
6161 bx r1
Index: umsboot/target/ipodnano2g/crt0.S
@@ -37,7 +37,7 @@
3838 .global __start
3939 __start:
4040 mrc p15, 0, r0,c1,c0
41 - orr r0, r0, #1
 41+ orr r0, r0, #5
4242 mcr p15, 0, r0,c1,c0
4343 ldr r0, =_sramsource
4444 ldr r1, =_sramstart
Index: umsboot/target/ipodclassic/crt0.S
@@ -37,7 +37,7 @@
3838 .global __start
3939 __start:
4040 mrc p15, 0, r0,c1,c0
41 - orr r0, r0, #1
 41+ orr r0, r0, #5
4242 mcr p15, 0, r0,c1,c0
4343 ldr r0, =_sramsource
4444 ldr r1, =_sramstart