diff options
| author | Nils Wallménius <nils@rockbox.org> | 2010-10-16 12:30:06 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2010-10-16 12:30:06 +0000 |
| commit | 8123dffaead8912e9bdf9d1d49e87501bb8e09ca (patch) | |
| tree | 8bbc8bfe574259b4e4a90685887bd526a64edbe2 /apps/plugin.c | |
| parent | 44780475bc53ad6a53c4d7216213c200c4d9063e (diff) | |
| download | rockbox-8123dffaead8912e9bdf9d1d49e87501bb8e09ca.zip rockbox-8123dffaead8912e9bdf9d1d49e87501bb8e09ca.tar.gz rockbox-8123dffaead8912e9bdf9d1d49e87501bb8e09ca.tar.bz2 rockbox-8123dffaead8912e9bdf9d1d49e87501bb8e09ca.tar.xz | |
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
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 6c402f6..316c7c6 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -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) |