forked from len0rd/rockbox
Commit to certain names for cache coherency APIs and discard the aliases.
Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
43d7a75369
commit
6a67707b5e
51 changed files with 120 additions and 213 deletions
|
|
@ -75,7 +75,7 @@
|
|||
#define CODEC_ENC_MAGIC 0x52454E43 /* RENC */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define CODEC_API_VERSION 43
|
||||
#define CODEC_API_VERSION 44
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
|
|
@ -169,8 +169,8 @@ struct codec_api {
|
|||
void (*semaphore_release)(struct semaphore *s);
|
||||
#endif /* NUM_CORES */
|
||||
|
||||
void (*cpucache_flush)(void);
|
||||
void (*cpucache_invalidate)(void);
|
||||
void (*commit_dcache)(void);
|
||||
void (*commit_discard_dcache)(void);
|
||||
|
||||
/* strings and memory */
|
||||
char* (*strcpy)(char *dst, const char *src);
|
||||
|
|
@ -223,6 +223,7 @@ struct codec_api {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
void (*commit_discard_idcache)(void);
|
||||
};
|
||||
|
||||
/* codec header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue