Subversion Repositories freemyipod

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 35
Line 60... Line 60...
60
        "BNE invalidate_dcache_loop\n\t"
60
        "BNE invalidate_dcache_loop\n\t"
61
        "MCR p15, 0, R0,c7,c10,4   \n\t"
61
        "MCR p15, 0, R0,c7,c10,4   \n\t"
62
        "MOV PC, LR                \n\t"
62
        "MOV PC, LR                \n\t"
63
    );
63
    );
64
}
64
}
-
 
65
 
-
 
66
void invalidate_icache()
-
 
67
{
-
 
68
    asm volatile(
-
 
69
        "MOV R0, #0                \n\t"
-
 
70
        "MCR p15, 0, R0,c7,c5,0    \n\t"
-
 
71
        "MOV PC, LR                \n\t"
-
 
72
    );
-
 
73
}