summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-target.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-12-17 07:27:24 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-12-17 07:27:24 +0000
commit6a67707b5ec3b2c649c401550bb7fdef2b7c8d07 (patch)
treebfe31942a4abbaac09ad0f4226effdcef8bf097e /firmware/target/arm/system-target.h
parent43d7a75369286dc3b39b858df34f66b0b45de34e (diff)
downloadrockbox-6a67707b5ec3b2c649c401550bb7fdef2b7c8d07.tar.gz
rockbox-6a67707b5ec3b2c649c401550bb7fdef2b7c8d07.zip
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
Diffstat (limited to 'firmware/target/arm/system-target.h')
-rw-r--r--firmware/target/arm/system-target.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h
index e5a8b15f64..730bc2dbbb 100644
--- a/firmware/target/arm/system-target.h
+++ b/firmware/target/arm/system-target.h
@@ -141,6 +141,10 @@ static inline void wake_core(int core)
141} 141}
142#endif 142#endif
143 143
144void commit_dcache(void);
145void commit_discard_dcache(void);
146void commit_discard_idcache(void);
147
144#if defined(BOOTLOADER) && !defined(HAVE_BOOTLOADER_USB_MODE) 148#if defined(BOOTLOADER) && !defined(HAVE_BOOTLOADER_USB_MODE)
145/* All addresses within rockbox are in IRAM in the bootloader so 149/* All addresses within rockbox are in IRAM in the bootloader so
146 are therefore uncached */ 150 are therefore uncached */
@@ -162,15 +166,6 @@ static inline void wake_core(int core)
162#define STORAGE_WANTS_ALIGN 166#define STORAGE_WANTS_ALIGN
163#endif 167#endif
164 168
165/** cache functions **/
166#if !defined(BOOTLOADER) || defined(HAVE_BOOTLOADER_USB_MODE)
167#define HAVE_CPUCACHE_COMMIT_DISCARD
168#define HAVE_CPUCACHE_COMMIT
169/* deprecated alias */
170#define HAVE_CPUCACHE_INVALIDATE
171#define HAVE_CPUCACHE_FLUSH
172#endif
173
174#if defined(IPOD_VIDEO) && !defined(BOOTLOADER) 169#if defined(IPOD_VIDEO) && !defined(BOOTLOADER)
175extern unsigned char probed_ramsize; 170extern unsigned char probed_ramsize;
176int battery_default_capacity(void); 171int battery_default_capacity(void);