From 21f0c9a2829415f52b64cbdf965b01525e78f17a Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 11 Feb 2009 12:55:51 +0000 Subject: Make basic cache functions into calls, and get rid of CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/system-pp5002.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'firmware/target/arm/system-pp5002.c') diff --git a/firmware/target/arm/system-pp5002.c b/firmware/target/arm/system-pp5002.c index a995a5464b..98bf5f21f1 100644 --- a/firmware/target/arm/system-pp5002.c +++ b/firmware/target/arm/system-pp5002.c @@ -62,8 +62,7 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) some other CPU frequency scaling. */ #ifndef BOOTLOADER -void flush_icache(void) ICODE_ATTR; -void flush_icache(void) +void ICODE_ATTR cpucache_flush(void) { intptr_t b, e; @@ -73,8 +72,7 @@ void flush_icache(void) } } -void invalidate_icache(void) ICODE_ATTR; -void invalidate_icache(void) +void ICODE_ATTR cpucache_invalidate(void) { intptr_t b, e; -- cgit v1.2.3