diff options
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_ */ |