freemyipod r233 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r232‎ | r233 | r234 >
Date:17:12, 30 October 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS iPod Nano 2G: Clean caches after copying code around
Modified paths:
  • /embios/trunk/target/ipodnano2g/crt0.S (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano2g/crt0.S
@@ -85,6 +85,17 @@
8686 bic r0, r0, #0x10000
8787 str r0, [r1]
8888 mov r0, #0
 89+.cleancache:
 90+ mcr p15, 0, r0,c7,c10,2
 91+ add r1, r0, #0x10
 92+ mcr p15, 0, r1,c7,c10,2
 93+ add r1, r1, #0x10
 94+ mcr p15, 0, r1,c7,c10,2
 95+ add r1, r1, #0x10
 96+ mcr p15, 0, r1,c7,c10,2
 97+ adds r0, r0, #0x04000000
 98+ bne .cleancache
 99+ mcr p15, 0, r0,c7,c10,4
89100 mcr p15, 0, r0,c7,c5,0
90101 mov r1, #0x39c00000
91102 str r0, [r1,#4]

Follow-up revisions

RevisionCommit summaryAuthorDate
r329emBIOS: Revert r233theseven01:51, 13 December 2010