freemyipod r283 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r282‎ | r283 | r284 >
Date:20:39, 27 November 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: Set R0 to zero before executing "wait for interrupt" MCR instruction
Modified paths:
  • /embios/trunk/target/ipodclassic/crt0.S (modified) (history)
  • /embios/trunk/target/ipodnano3g/crt0.S (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano3g/crt0.S
@@ -141,6 +141,7 @@
142142 str r0, [r1]
143143 hang:
144144 msr cpsr_c, #0xd3
 145+ mov r0, #0
145146 mcr p15, 0, r0,c7,c0,4
146147 b hang
147148 .size reset, .-reset
Index: embios/trunk/target/ipodclassic/crt0.S
@@ -141,6 +141,7 @@
142142 str r0, [r1]
143143 hang:
144144 msr cpsr_c, #0xd3
 145+ mov r0, #0
145146 mcr p15, 0, r0,c7,c0,4
146147 b hang
147148 .size reset, .-reset