freemyipod r443 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r442‎ | r443 | r444 >
Date:14:05, 18 January 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Fix execfirmware()
Modified paths:
  • /emcore/trunk/arm/contextswitch.S (modified) (history)

Diff [purge]

Index: emcore/trunk/arm/contextswitch.S
@@ -153,7 +153,9 @@
154154 execfirmware:
155155 stmfd sp!, {r0-r2}
156156 bl interrupt_shutdown
 157+ mov r0, sp
157158 msr cpsr_c, #0xd3
 159+ mov sp, r0
158160 ldmfd sp, {r0-r2}
159161 bl memmove
160162 bl clean_dcache