From 08bc7a532bff1a48e405e57c017462a29f758c2f Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 9 Feb 2005 17:56:52 +0000 Subject: iRiver: Correct cache invalidation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5873 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/system.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/export') 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"); } -- cgit v1.2.3