iRiver: Correct cache invalidation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5873 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-02-09 17:56:52 +00:00
parent 2b25e54ace
commit 08bc7a532b

View file

@ -182,7 +182,9 @@ static inline unsigned long SWAB32(unsigned long value)
static inline void invalidate_icache(void) 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"); "movec.l %d0,%cacr");
} }