summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/android/system-target.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-12-10 15:14:18 +0000
committerThomas Martitz <kugel@rockbox.org>2010-12-10 15:14:18 +0000
commitc47d81345151166083ab10d6f5d11e56462056d5 (patch)
treef01d6b866113ca8998147d98425fa700db42ca48 /firmware/target/hosted/android/system-target.h
parent44cdce9b290d4ae9e1a436ef85c5b0ed56827784 (diff)
downloadrockbox-c47d81345151166083ab10d6f5d11e56462056d5.tar.gz
rockbox-c47d81345151166083ab10d6f5d11e56462056d5.tar.bz2
rockbox-c47d81345151166083ab10d6f5d11e56462056d5.zip
Android: Replace the java based tick timer implemented with a not as bloated and more accurate linux hrtimer based one. Further reduces idle cpu usage (0% on my phone but still 1-2% on a Samsung Galaxy S).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/android/system-target.h')
-rw-r--r--firmware/target/hosted/android/system-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/system-target.h b/firmware/target/hosted/android/system-target.h
index 0bd6d78fe0..3938ad5fba 100644
--- a/firmware/target/hosted/android/system-target.h
+++ b/firmware/target/hosted/android/system-target.h
@@ -27,6 +27,8 @@
#define restore_irq(level) (void)level
void power_off(void);
+void wait_for_interrupt(void);
+void interrupt(void);
#endif /* __SYSTEM_TARGET_H__ */