summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-09 14:28:58 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-09 14:28:58 +0000
commit6af762f2bfdadd90875997ec7c2035184d23f8dd (patch)
tree14a2b80289ff5bd837e4f2672eb653e9ad719d85 /apps/codecs.h
parent28b30d477295e4401eb09a46ac50920a9749d9b8 (diff)
downloadrockbox-6af762f2bfdadd90875997ec7c2035184d23f8dd.zip
rockbox-6af762f2bfdadd90875997ec7c2035184d23f8dd.tar.gz
rockbox-6af762f2bfdadd90875997ec7c2035184d23f8dd.tar.bz2
rockbox-6af762f2bfdadd90875997ec7c2035184d23f8dd.tar.xz
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
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 520aaee..f94c81a 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -78,12 +78,12 @@
#define CODEC_ENC_MAGIC 0x52454E43 /* RENC */
/* increase this every time the api struct changes */
-#define CODEC_API_VERSION 34
+#define CODEC_API_VERSION 35
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define CODEC_MIN_API_VERSION 34
+#define CODEC_MIN_API_VERSION 35
/* codec return codes */
enum codec_status {
@@ -176,10 +176,8 @@ struct codec_api {
void (*semaphore_release)(struct semaphore *s);
#endif /* NUM_CORES */
-#if NUM_CORES > 1
void (*cpucache_flush)(void);
void (*cpucache_invalidate)(void);
-#endif
/* strings and memory */
char* (*strcpy)(char *dst, const char *src);