summaryrefslogtreecommitdiff
path: root/firmware/target/hosted
diff options
context:
space:
mode:
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_ */