diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-12-17 07:27:24 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-12-17 07:27:24 +0000 |
commit | 6a67707b5ec3b2c649c401550bb7fdef2b7c8d07 (patch) | |
tree | bfe31942a4abbaac09ad0f4226effdcef8bf097e /firmware/target/hosted | |
parent | 43d7a75369286dc3b39b858df34f66b0b45de34e (diff) | |
download | rockbox-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.h | 4 | ||||
-rw-r--r-- | firmware/target/hosted/sdl/system-sdl.h | 4 |
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 | ||
29 | static inline void commit_dcache(void) {} | ||
30 | static inline void commit_discard_dcache(void) {} | ||
31 | static inline void commit_discard_idcache(void) {} | ||
32 | |||
29 | void power_off(void); | 33 | void power_off(void); |
30 | void wait_for_interrupt(void); | 34 | void wait_for_interrupt(void); |
31 | void interrupt(void); | 35 | void 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; | |||
57 | extern int display_zoom; | 57 | extern int display_zoom; |
58 | extern long start_tick; | 58 | extern long start_tick; |
59 | 59 | ||
60 | static inline void commit_dcache(void) {} | ||
61 | static inline void commit_discard_dcache(void) {} | ||
62 | static inline void commit_discard_idcache(void) {} | ||
63 | |||
60 | #endif /* _SYSTEM_SDL_H_ */ | 64 | #endif /* _SYSTEM_SDL_H_ */ |