Get test_codec running again on PortalPlayer targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15035 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
16301880a1
commit
d712e252fe
1 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,8 @@ PLUGIN_HEADER
|
||||||
|
|
||||||
static struct plugin_api* rb;
|
static struct plugin_api* rb;
|
||||||
|
|
||||||
|
CACHE_FUNCTION_WRAPPERS(rb)
|
||||||
|
|
||||||
/* Log functions copied from test_disk.c */
|
/* Log functions copied from test_disk.c */
|
||||||
static int line = 0;
|
static int line = 0;
|
||||||
static int max_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_enter = rb->profile_func_enter;
|
||||||
ci.profile_func_exit = rb->profile_func_exit;
|
ci.profile_func_exit = rb->profile_func_exit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CACHE_FUNCTIONS_AS_CALL
|
||||||
|
ci.invalidate_icache = invalidate_icache;
|
||||||
|
ci.flush_icache = flush_icache;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void codec_thread(void)
|
static void codec_thread(void)
|
||||||
|
|
Loading…
Reference in a new issue