summaryrefslogtreecommitdiff
path: root/sys/include/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/arch')
-rw-r--r--sys/include/arch/amd64/lapic.h3
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);