freemyipod r267 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r266‎ | r267 | r268 >
Date:17:37, 22 November 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: Revert accidentally committed change
Modified paths:
  • /embios/trunk/target/ipodnano4g/mmu.c (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano4g/mmu.c
@@ -28,11 +28,6 @@
2929 void clean_dcache()
3030 {
3131 asm volatile(
32 - "clean_dcache_loop: \n\t"
33 - "MRC p15, 0, R15,c7,c10,3 \n\t"
34 - "BNE clean_dcache_loop \n\t"
35 - "MOV R0, #0 \n\t"
36 - "MCR p15, 0, R0,c7,c10,4 \n\t"
3732 "MOV PC, LR \n\t"
3833 );
3934 }
@@ -40,11 +35,6 @@
4136 void invalidate_dcache()
4237 {
4338 asm volatile(
44 - "invalidate_dcache_loop: \n\t"
45 - "MRC p15, 0, R15,c7,c14,3 \n\t"
46 - "BNE invalidate_dcache_loop\n\t"
47 - "MOV R0, #0 \n\t"
48 - "MCR p15, 0, R0,c7,c10,4 \n\t"
4939 "MOV PC, LR \n\t"
5040 );
5141 }
@@ -52,8 +42,6 @@
5343 void invalidate_icache()
5444 {
5545 asm volatile(
56 - "MOV R0, #0 \n\t"
57 - "MCR p15, 0, R0,c7,c5,0 \n\t"
5846 "MOV PC, LR \n\t"
5947 );
6048 }