summaryrefslogtreecommitdiff
path: root/include/gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gdt.h')
-rw-r--r--include/gdt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/gdt.h b/include/gdt.h
new file mode 100644
index 0000000..63ff08b
--- /dev/null
+++ b/include/gdt.h
@@ -0,0 +1,10 @@
+#ifndef _GDT_H_
+#define _GDT_H_
+
+#include <stdint.h>
+#include <stddef.h>
+
+void gdt_set_gate(size_t num, uint64_t base, uint32_t limit, uint8_t access, uint8_t gran);
+void gdt_install();
+
+#endif