diff options
Diffstat (limited to 'firmware/target/hosted/android/system-target.h')
-rw-r--r-- | firmware/target/hosted/android/system-target.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/firmware/target/hosted/android/system-target.h b/firmware/target/hosted/android/system-target.h index 12610de42f..aba7e6d6c0 100644 --- a/firmware/target/hosted/android/system-target.h +++ b/firmware/target/hosted/android/system-target.h | |||
@@ -18,22 +18,16 @@ | |||
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | |||
21 | #ifndef __SYSTEM_TARGET_H__ | 22 | #ifndef __SYSTEM_TARGET_H__ |
22 | #define __SYSTEM_TARGET_H__ | 23 | #define __SYSTEM_TARGET_H__ |
23 | 24 | ||
24 | #define disable_irq() | 25 | #include "kernel-unix.h" |
25 | #define enable_irq() | ||
26 | #define disable_irq_save() 0 | ||
27 | #define restore_irq(level) (void)level | ||
28 | 26 | ||
29 | static inline void commit_dcache(void) {} | 27 | static inline void commit_dcache(void) {} |
30 | static inline void commit_discard_dcache(void) {} | 28 | static inline void commit_discard_dcache(void) {} |
31 | static inline void commit_discard_idcache(void) {} | 29 | static inline void commit_discard_idcache(void) {} |
32 | 30 | ||
33 | void power_off(void); | ||
34 | void wait_for_interrupt(void); | ||
35 | void interrupt(void); | ||
36 | |||
37 | /* don't pull in jni.h for every user of this file, it should be only needed | 31 | /* don't pull in jni.h for every user of this file, it should be only needed |
38 | * within the target tree (if at all) | 32 | * within the target tree (if at all) |
39 | * define this before #including system.h or system-target.h */ | 33 | * define this before #including system.h or system-target.h */ |
@@ -47,4 +41,3 @@ extern JNIEnv* getJavaEnvironment(void); | |||
47 | #endif /* __SYSTEM_TARGET_H__ */ | 41 | #endif /* __SYSTEM_TARGET_H__ */ |
48 | 42 | ||
49 | #define NEED_GENERIC_BYTESWAPS | 43 | #define NEED_GENERIC_BYTESWAPS |
50 | |||