summaryrefslogtreecommitdiff
path: root/firmware/target/hosted
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/hosted
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/hosted')
-rw-r--r--firmware/target/hosted/android/system-target.h4
-rw-r--r--firmware/target/hosted/sdl/system-sdl.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/system-target.h b/firmware/target/hosted/android/system-target.h
index 325c1012af..12610de42f 100644
--- a/firmware/target/hosted/android/system-target.h
+++ b/firmware/target/hosted/android/system-target.h
@@ -26,6 +26,10 @@
26#define disable_irq_save() 0 26#define disable_irq_save() 0
27#define restore_irq(level) (void)level 27#define restore_irq(level) (void)level
28 28
29static inline void commit_dcache(void) {}
30static inline void commit_discard_dcache(void) {}
31static inline void commit_discard_idcache(void) {}
32
29void power_off(void); 33void power_off(void);
30void wait_for_interrupt(void); 34void wait_for_interrupt(void);
31void interrupt(void); 35void interrupt(void);
diff --git a/firmware/target/hosted/sdl/system-sdl.h b/firmware/target/hosted/sdl/system-sdl.h
index 9021a12543..d607e5e0a6 100644
--- a/firmware/target/hosted/sdl/system-sdl.h
+++ b/firmware/target/hosted/sdl/system-sdl.h
@@ -57,4 +57,8 @@ extern bool showremote;
57extern int display_zoom; 57extern int display_zoom;
58extern long start_tick; 58extern long start_tick;
59 59
60static inline void commit_dcache(void) {}
61static inline void commit_discard_dcache(void) {}
62static inline void commit_discard_idcache(void) {}
63
60#endif /* _SYSTEM_SDL_H_ */ 64#endif /* _SYSTEM_SDL_H_ */