diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-09 17:56:52 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-09 17:56:52 +0000 |
commit | 08bc7a532bff1a48e405e57c017462a29f758c2f (patch) | |
tree | fe86226f6054b318dd6ea546d80e6f770fe588ce /firmware/export/system.h | |
parent | 2b25e54ace37d5fe4d54a8c1beb71ce110666e16 (diff) | |
download | rockbox-08bc7a532bff1a48e405e57c017462a29f758c2f.tar.gz rockbox-08bc7a532bff1a48e405e57c017462a29f758c2f.zip |
iRiver: Correct cache invalidation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5873 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r-- | firmware/export/system.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 84c222e171..60febf3e16 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -182,7 +182,9 @@ static inline unsigned long SWAB32(unsigned long value) | |||
182 | 182 | ||
183 | static inline void invalidate_icache(void) | 183 | static inline void invalidate_icache(void) |
184 | { | 184 | { |
185 | asm volatile ("move.l #0x81000000,%d0\n" | 185 | asm volatile ("move.l #0x01000000,%d0\n" |
186 | "movec.l %d0,%cacr\n" | ||
187 | "move.l #0x80000000,%d0\n" | ||
186 | "movec.l %d0,%cacr"); | 188 | "movec.l %d0,%cacr"); |
187 | } | 189 | } |
188 | 190 | ||