diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-22 22:45:37 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-22 22:45:37 -0500 |
commit | f9500c085bb4c12ecc680ce0eb33add6eb073093 (patch) | |
tree | b1252030677af7513305e3ff884da3fcb2ca9802 /sys/arch | |
parent | 78b4633045e1dcea2c3b03d1d79f8636cefb3314 (diff) |
kernel/amd64: lapic: Set timer routine
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/lapic.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |