summaryrefslogtreecommitdiff
path: root/asm/asm_gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/asm_gdt.h')
-rw-r--r--asm/asm_gdt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/asm/asm_gdt.h b/asm/asm_gdt.h
new file mode 100644
index 0000000..523b783
--- /dev/null
+++ b/asm/asm_gdt.h
@@ -0,0 +1,7 @@
+/**
+ * @file
+ * http://wiki.osdev.org/GDT_Tutorial
+ */
+
+/** call as asm_setup_gdt(GDT,sizeof(GDT)) */
+void asm_setup_gdt(uint32_t addr, uint32_t size)