1
0
Fork 0
forked from len0rd/rockbox

Remove some inconsistent guarding around cpucache_* functions to fix a test_codec crash on coldfire, breaks plugin api compatibility so sorted and bumped version numbers.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28287 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-10-16 12:30:06 +00:00
parent 44780475bc
commit 8123dffaea
3 changed files with 19 additions and 25 deletions

View file

@ -344,6 +344,7 @@ static const struct plugin_api rockbox_api = {
mkdir,
rmdir,
dir_exists,
dir_get_info,
/* kernel/ system */
#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
@ -384,12 +385,15 @@ static const struct plugin_api rockbox_api = {
trigger_cpu_boost,
cancel_cpu_boost,
#endif
#ifdef HAVE_CPUCACHE_FLUSH
cpucache_flush,
#endif
#ifdef HAVE_CPUCACHE_INVALIDATE
cpucache_invalidate,
#endif
lc_open,
lc_open_from_mem,
lc_get_header,
lc_close,
timer_register,
timer_unregister,
timer_set_period,
@ -722,12 +726,6 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
dir_get_info,
lc_open,
lc_open_from_mem,
lc_get_header,
lc_close,
};
int plugin_load(const char* plugin, const void* parameter)