summaryrefslogtreecommitdiff
path: root/kernel/arch/i386/tsc.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-07-03 01:21:16 +0200
committerAnton Kling <anton@kling.gg>2024-07-03 01:21:28 +0200
commitdd9aece19f93c1cafe07dfc0e63e1599a06db04b (patch)
treeaf5ef66b2eba21d0eaa2d3a00abcfec64cea98b4 /kernel/arch/i386/tsc.h
parent5751b4ff0baf41fd3f38b30b0cb58d09631e9bc0 (diff)
Kernel: Add simple support for timer using TSC
Diffstat (limited to 'kernel/arch/i386/tsc.h')
-rw-r--r--kernel/arch/i386/tsc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/arch/i386/tsc.h b/kernel/arch/i386/tsc.h
new file mode 100644
index 0000000..2e29cf3
--- /dev/null
+++ b/kernel/arch/i386/tsc.h
@@ -0,0 +1,4 @@
+#include <typedefs.h>
+
+u64 get_tsc();
+u64 get_hz();