summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-08 18:17:46 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-08 18:17:46 +0000
commitd712e252fecf814a48814034a55ba60a1b194598 (patch)
tree43ab1ec425ea310e5e60df08d9eddb043751ab15
parent16301880a147cee50dc49fc1890feaf28bb4edb1 (diff)
downloadrockbox-d712e252fecf814a48814034a55ba60a1b194598.tar.gz
rockbox-d712e252fecf814a48814034a55ba60a1b194598.zip
Get test_codec running again on PortalPlayer targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15035 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/test_codec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 01166cc025..2918f611a1 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -30,6 +30,8 @@ PLUGIN_HEADER
static struct plugin_api* rb;
+CACHE_FUNCTION_WRAPPERS(rb)
+
/* Log functions copied from test_disk.c */
static int line = 0;
static int max_line = 0;
@@ -484,6 +486,11 @@ static void init_ci(void)
ci.profile_func_enter = rb->profile_func_enter;
ci.profile_func_exit = rb->profile_func_exit;
#endif
+
+#ifdef CACHE_FUNCTIONS_AS_CALL
+ ci.invalidate_icache = invalidate_icache;
+ ci.flush_icache = flush_icache;
+#endif
}
static void codec_thread(void)