forked from len0rd/rockbox
codecs_crt0.c needs to call cpucache_invalidate after copying code around.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28052 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
28b30d4772
commit
6af762f2bf
3 changed files with 6 additions and 10 deletions
|
@ -47,10 +47,10 @@ enum codec_status codec_start(void)
|
|||
#endif
|
||||
ci->memset(plugin_bss_start, 0, plugin_end_addr - plugin_bss_start);
|
||||
#endif
|
||||
#if NUM_CORES > 1
|
||||
/* writeback cleared iedata and bss areas */
|
||||
ci->cpucache_flush();
|
||||
#endif
|
||||
/* writeback cleared iedata and bss areas, invalidate icache for
|
||||
* copied code */
|
||||
ci->cpucache_invalidate();
|
||||
|
||||
return codec_main();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue