summaryrefslogtreecommitdiff
path: root/firmware/target/arm/mmu-arm.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-07-05 01:17:25 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-07-05 01:17:25 +0000
commit7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a (patch)
treedb057d77cc4866e140ea7fe6138ea24b27bc47a8 /firmware/target/arm/mmu-arm.h
parent2aabdbfeb843763664783223fa1f7fd83d21a6f6 (diff)
downloadrockbox-7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a.tar.gz
rockbox-7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a.zip
ARM922T's icache isn't coherent with its dcache, so we need to ensure that its flushed before changing codecs. Playback takes care of this for us, but only if we define cache coherency functions. Do that. Also, add a comment explaining that MMU functions need to be included so that other people don't spend hours chasing them in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21647 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/mmu-arm.h')
-rw-r--r--firmware/target/arm/mmu-arm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/mmu-arm.h b/firmware/target/arm/mmu-arm.h
index f3e8a8d7a0..1cf1f68d00 100644
--- a/firmware/target/arm/mmu-arm.h
+++ b/firmware/target/arm/mmu-arm.h
@@ -18,6 +18,11 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
22/* This file MUST be included in your system-target.h file if you want arm
23 * cache coherence functions to be called (I.E. during codec load, etc).
24 */
25
21#ifndef MMU_ARM_H 26#ifndef MMU_ARM_H
22#define MMU_ARM_H 27#define MMU_ARM_H
23 28