From 41614e79fb75eb41c4afb8d014a896dfd2421909 Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Wed, 20 Sep 2023 03:04:17 -0400 Subject: kernel/amd64: Add stub LAPIC timer support Signed-off-by: sigsegv7 --- sys/include/arch/amd64/lapic.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/include') diff --git a/sys/include/arch/amd64/lapic.h b/sys/include/arch/amd64/lapic.h index f9d5718..41aabe0 100644 --- a/sys/include/arch/amd64/lapic.h +++ b/sys/include/arch/amd64/lapic.h @@ -30,9 +30,12 @@ #ifndef _AMD64_LAPIC_H_ #define _AMD64_LAPIC_H_ +#include + #define LAPIC_TMR_ONESHOT 0x00 #define LAPIC_TMR_PERIODIC 0x01 +void lapic_timer_init(size_t *freq_out); void lapic_set_base(void *mmio_base); void lapic_init(void); -- cgit v1.2.3