aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-15 23:35:50 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-15 23:35:50 -0400
commitaf036bb3346026d84b640478beb3e87308367fd8 (patch)
treef29c2e06e460d04157ecc371657afaa6d460d279 /sys/include
parentd4365c9a7f653f5d81c56424fe04edb4656fd1e2 (diff)
kernel: dev: Add extra HPET sleep functions
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/dev/timer/hpet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/include/dev/timer/hpet.h b/sys/include/dev/timer/hpet.h
index 513444e..98ffb4a 100644
--- a/sys/include/dev/timer/hpet.h
+++ b/sys/include/dev/timer/hpet.h
@@ -33,6 +33,8 @@
#include <sys/types.h>
int hpet_init(void);
-void hpet_msleep(size_t ms);
+int hpet_msleep(size_t ms);
+int hpet_usleep(size_t us);
+int hpet_nsleep(size_t ns);
#endif /* !_TIMER_HPET_H_ */