diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-11 12:55:51 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-11 12:55:51 +0000 |
commit | 21f0c9a2829415f52b64cbdf965b01525e78f17a (patch) | |
tree | b5cb8021097722969f75784011c9f64f991c0c3d /apps/codecs/codec_crt0.c | |
parent | 4cd7597172d916db9fc99bde4c03b669366f852a (diff) | |
download | rockbox-21f0c9a2829415f52b64cbdf965b01525e78f17a.tar.gz rockbox-21f0c9a2829415f52b64cbdf965b01525e78f17a.zip |
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
Diffstat (limited to 'apps/codecs/codec_crt0.c')
-rw-r--r-- | apps/codecs/codec_crt0.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/codecs/codec_crt0.c b/apps/codecs/codec_crt0.c index 467e115de9..09b6982246 100644 --- a/apps/codecs/codec_crt0.c +++ b/apps/codecs/codec_crt0.c | |||
@@ -34,8 +34,6 @@ extern unsigned char plugin_end_addr[]; | |||
34 | 34 | ||
35 | extern enum codec_status codec_main(void); | 35 | extern enum codec_status codec_main(void); |
36 | 36 | ||
37 | CACHE_FUNCTION_WRAPPERS(ci); | ||
38 | |||
39 | enum codec_status codec_start(void) | 37 | enum codec_status codec_start(void) |
40 | { | 38 | { |
41 | #ifndef SIMULATOR | 39 | #ifndef SIMULATOR |
@@ -47,7 +45,7 @@ enum codec_status codec_start(void) | |||
47 | #endif | 45 | #endif |
48 | #if NUM_CORES > 1 | 46 | #if NUM_CORES > 1 |
49 | /* writeback cleared iedata and bss areas */ | 47 | /* writeback cleared iedata and bss areas */ |
50 | flush_icache(); | 48 | ci->cpucache_flush(); |
51 | #endif | 49 | #endif |
52 | return codec_main(); | 50 | return codec_main(); |
53 | } | 51 | } |