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 | |
parent | 2b25e54ace37d5fe4d54a8c1beb71ce110666e16 (diff) |
iRiver: Correct cache invalidation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5873 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-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) 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"); } |