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:
Michael Sevakis 2011-12-17 07:27:24 +00:00
parent 43d7a75369
commit 6a67707b5e
51 changed files with 120 additions and 213 deletions

View file

@ -324,7 +324,7 @@ static void NORETURN_ATTR handle_firmware_load(void)
if (rc == EOK)
{
cpucache_commit_discard();
commit_discard_idcache();
asm volatile ("bx %0": : "r"(start_addr));
}

View file

@ -195,7 +195,7 @@ void main(void)
printf("Loading firmware");
/* Flush out anything pending first */
cpucache_invalidate();
commit_discard_idcache();
loadbuffer = (unsigned char*) 0x31000000;
buffer_size = (unsigned char*)0x31400000 - loadbuffer;
@ -209,7 +209,7 @@ void main(void)
if (rc == EOK)
{
cpucache_invalidate();
commit_discard_idcache();
kernel_entry = (void*) loadbuffer;
rc = kernel_entry();
}