aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/timer/hpet.c
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-20 03:03:04 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-20 03:03:04 -0400
commite40e9d24a29e7805f42010252119ab7d3d30f0c0 (patch)
treeee23c79e9981317fd60f90acfeea231838cf9471 /sys/dev/timer/hpet.c
parentc9ea9bda1dfaa54842bbdeb38145f41275376d95 (diff)
kernel: dev: Register HPET timer
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/dev/timer/hpet.c')
-rw-r--r--sys/dev/timer/hpet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/timer/hpet.c b/sys/dev/timer/hpet.c
index 08c4432..03b23b5 100644
--- a/sys/dev/timer/hpet.c
+++ b/sys/dev/timer/hpet.c
@@ -185,6 +185,7 @@ hpet_init(void)
timer.msleep = hpet_msleep;
timer.usleep = hpet_usleep;
timer.nsleep = hpet_nsleep;
+ register_timer(TIMER_GP, &timer);
/* Not faulty */
is_faulty = false;