diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2009-07-05 01:17:25 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-07-05 01:17:25 +0000 |
| commit | 7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a (patch) | |
| tree | db057d77cc4866e140ea7fe6138ea24b27bc47a8 | |
| parent | 2aabdbfeb843763664783223fa1f7fd83d21a6f6 (diff) | |
| download | rockbox-7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a.zip rockbox-7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a.tar.gz rockbox-7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a.tar.bz2 rockbox-7131ddb105fe4f3f8f9f3d500a12ac24cf051c9a.tar.xz | |
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
| -rw-r--r-- | firmware/target/arm/as3525/system-target.h | 1 | ||||
| -rw-r--r-- | firmware/target/arm/mmu-arm.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index eb59709..292ad1b 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h @@ -22,6 +22,7 @@ #define SYSTEM_TARGET_H #include "system-arm.h" +#include "mmu-arm.h" #include "clock-target.h" /* CPUFREQ_* are defined here */ diff --git a/firmware/target/arm/mmu-arm.h b/firmware/target/arm/mmu-arm.h index f3e8a8d..1cf1f68 100644 --- a/firmware/target/arm/mmu-arm.h +++ b/firmware/target/arm/mmu-arm.h @@ -18,6 +18,11 @@ * KIND, either express or implied. * ****************************************************************************/ + +/* This file MUST be included in your system-target.h file if you want arm + * cache coherence functions to be called (I.E. during codec load, etc). + */ + #ifndef MMU_ARM_H #define MMU_ARM_H |