iRiver: Correct cache invalidation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5873 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2b25e54ace
commit
08bc7a532b
1 changed files with 3 additions and 1 deletions
|
@ -182,7 +182,9 @@ static inline unsigned long SWAB32(unsigned long value)
|
|||
|
||||
static inline void invalidate_icache(void)
|
||||
{
|
||||
asm volatile ("move.l #0x81000000,%d0\n"
|
||||
asm volatile ("move.l #0x01000000,%d0\n"
|
||||
"movec.l %d0,%cacr\n"
|
||||
"move.l #0x80000000,%d0\n"
|
||||
"movec.l %d0,%cacr");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue