summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/asm_gdt.h7
-rw-r--r--asm/asm_gdt.s (renamed from asm/gdt.s)3
-rw-r--r--asm/asm_mp.asm (renamed from asm/mp.asm)0
-rw-r--r--asm/asm_mp.h (renamed from asm/mp.h)0
-rw-r--r--asm/gdt.h1
5 files changed, 7 insertions, 4 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)
diff --git a/asm/gdt.s b/asm/asm_gdt.s
index c155ce9..0e163fc 100644
--- a/asm/gdt.s
+++ b/asm/asm_gdt.s
@@ -1,8 +1,5 @@
-//http://wiki.osdev.org/GDT_Tutorial
.global asm_setup_gdt
-//.global tss_flush
-// call as setup_gdt(GDT,sizeof(GDT))
asm_setup_gdt:
// re-fill gdt_descriptor with new GDT location and size
diff --git a/asm/mp.asm b/asm/asm_mp.asm
index f0eb9c0..f0eb9c0 100644
--- a/asm/mp.asm
+++ b/asm/asm_mp.asm
diff --git a/asm/mp.h b/asm/asm_mp.h
index 3ace14a..3ace14a 100644
--- a/asm/mp.h
+++ b/asm/asm_mp.h
diff --git a/asm/gdt.h b/asm/gdt.h
deleted file mode 100644
index f5bcbd3..0000000
--- a/asm/gdt.h
+++ /dev/null
@@ -1 +0,0 @@
-void asm_setup_gdt(uint32_t addr, uint32_t size)