mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
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
|
|
@ -163,7 +163,7 @@ void udelay(unsigned usecs)
|
|||
);
|
||||
}
|
||||
|
||||
void cpucache_commit_discard(void)
|
||||
void commit_discard_idcache(void)
|
||||
{
|
||||
/* invalidate cache way 0 */
|
||||
CACHEOP = 0x02;
|
||||
|
|
@ -178,8 +178,6 @@ void cpucache_commit_discard(void)
|
|||
while (CACHEOP & 0x03);
|
||||
}
|
||||
|
||||
void cpucache_invalidate(void) __attribute__((alias("cpucache_commit_discard")));
|
||||
|
||||
void commit_discard_dcache_range (const void *base, unsigned int size)
|
||||
{
|
||||
int cnt = size + ((unsigned long)base & 0x1f);
|
||||
|
|
@ -196,4 +194,5 @@ void commit_discard_dcache_range (const void *base, unsigned int size)
|
|||
}
|
||||
}
|
||||
|
||||
void clean_dcache_range(const void *base, unsigned int size) __attribute__((alias("commit_discard_dcache_range")));
|
||||
void commit_dcache_range(const void *base, unsigned int size)
|
||||
__attribute__((alias("commit_discard_dcache_range")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue