mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -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
|
|
@ -146,7 +146,7 @@ static void play_start_pcm(void)
|
|||
SRCPND = DMA2_MASK;
|
||||
|
||||
/* Flush any pending writes */
|
||||
clean_dcache_range((char*)DISRC2-0x30000000, (DCON2 & 0xFFFFF) * 2);
|
||||
commit_dcache_range((char*)DISRC2-0x30000000, (DCON2 & 0xFFFFF) * 2);
|
||||
|
||||
/* unmask DMA interrupt when unlocking */
|
||||
dma_play_lock.state = DMA2_MASK;
|
||||
|
|
@ -268,7 +268,7 @@ void fiq_handler(void)
|
|||
return;
|
||||
|
||||
/* Flush any pending cache writes */
|
||||
clean_dcache_range(start, size);
|
||||
commit_dcache_range(start, size);
|
||||
|
||||
/* set the new DMA values */
|
||||
DCON2 = DMA_CONTROL_SETUP | (size >> 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue