From af036bb3346026d84b640478beb3e87308367fd8 Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Fri, 15 Sep 2023 23:35:50 -0400 Subject: kernel: dev: Add extra HPET sleep functions Signed-off-by: sigsegv7 --- sys/include/dev/timer/hpet.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/include') 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 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_ */ -- cgit v1.2.3