summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/android/system-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/android/system-target.h')
-rw-r--r--firmware/target/hosted/android/system-target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/system-target.h b/firmware/target/hosted/android/system-target.h
index fd81b6661e..455fcc95fa 100644
--- a/firmware/target/hosted/android/system-target.h
+++ b/firmware/target/hosted/android/system-target.h
@@ -37,4 +37,11 @@ extern JNIEnv* getJavaEnvironment(void);
#endif /* __SYSTEM_TARGET_H__ */
+/* facility function to check/wait for rockbox being ready, to be used
+ * by java calls into native that depend on Rockbox structures such as
+ * initialized kernel. */
+bool is_rockbox_ready(void);
+void wait_rockbox_ready(void);
+void set_rockbox_ready(void);
+
#define NEED_GENERIC_BYTESWAPS