summaryrefslogtreecommitdiff
path: root/kernel/cpu.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-04-02 18:04:26 +0000
committerAda Christine <adachristine18@gmail.com>2021-04-02 18:04:26 +0000
commit167481f8988a860ea6d7ea8bbdb7155e4eb7abeb (patch)
treec348e1ea1bec525039decf6f15477d381f2d0bd7 /kernel/cpu.h
parenta41f11851c23390510a8cf9d0a932b9d08636fb0 (diff)
kernel has gdt now and loads segment register and we can allocate pages
Diffstat (limited to 'kernel/cpu.h')
-rw-r--r--kernel/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/cpu.h b/kernel/cpu.h
new file mode 100644
index 0000000..954762f
--- /dev/null
+++ b/kernel/cpu.h
@@ -0,0 +1,4 @@
+#pragma once
+
+void cpu_init(void);
+