diff options
author | sigsegv7 <ian@vegaa.systems> | 2023-09-20 03:04:17 -0400 |
---|---|---|
committer | sigsegv7 <ian@vegaa.systems> | 2023-09-20 03:04:17 -0400 |
commit | 41614e79fb75eb41c4afb8d014a896dfd2421909 (patch) | |
tree | 647ed035358c75fbfd9d0638b4c02ad05f66ce6f /sys/include/arch/amd64/lapic.h | |
parent | e40e9d24a29e7805f42010252119ab7d3d30f0c0 (diff) |
kernel/amd64: Add stub LAPIC timer support
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/include/arch/amd64/lapic.h')
-rw-r--r-- | sys/include/arch/amd64/lapic.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sys/types.h> + #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); |