From f9500c085bb4c12ecc680ce0eb33add6eb073093 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 22 Feb 2024 22:45:37 -0500 Subject: kernel/amd64: lapic: Set timer routine Signed-off-by: Ian Moffett --- sys/arch/amd64/amd64/lapic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c index 63c05c7..c342844 100644 --- a/sys/arch/amd64/amd64/lapic.c +++ b/sys/arch/amd64/amd64/lapic.c @@ -400,6 +400,7 @@ lapic_init(void) lapic_timer.name = "LAPIC_INTEGRATED_TIMER"; lapic_timer.calibrate = lapic_timer_calibrate; lapic_timer.stop = lapic_timer_stop; + lapic_timer.oneshot_us = lapic_timer_oneshot_us; /* Register the timer for scheduler usage */ register_timer(TIMER_SCHED, &lapic_timer); -- cgit v1.2.3