summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/stub/target.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-09-10 23:07:40 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-09-10 23:19:34 +0200
commit3b6d2ac28afc1c987e480790fff1b652f3ade5cd (patch)
treebe89e88b7f2b23acef34e22aa8f94b97104b6328 /utils/hwstub/stub/target.h
parentacf3af4ae305a70a8f3da777d0dffcccac6db6f7 (diff)
downloadrockbox-3b6d2ac28afc1c987e480790fff1b652f3ade5cd.tar.gz
rockbox-3b6d2ac28afc1c987e480790fff1b652f3ade5cd.tar.bz2
rockbox-3b6d2ac28afc1c987e480790fff1b652f3ade5cd.zip
hwstub: add delay functions, and plain binary/sb file generation
Change-Id: Idbedb9277b355edcd93975ec5a268428c7b89633
Diffstat (limited to 'utils/hwstub/stub/target.h')
-rw-r--r--utils/hwstub/stub/target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/hwstub/stub/target.h b/utils/hwstub/stub/target.h
index 56c960741f..43151e9a34 100644
--- a/utils/hwstub/stub/target.h
+++ b/utils/hwstub/stub/target.h
@@ -31,5 +31,9 @@ void target_exit(void);
int target_get_info(int info, void **buffer);
/* set atexit action or return -1 on error */
int target_atexit(int action);
+/* Wait a very short time (us<=1000) */
+void target_udelay(int us);
+/* Wait for a short time (ms <= 1000) */
+void target_mdelay(int ms);
#endif /* __TARGET_H__ */