aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/gdt/gdt.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/gdt/gdt.asm')
-rw-r--r--src/kernel/gdt/gdt.asm14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/kernel/gdt/gdt.asm b/src/kernel/gdt/gdt.asm
deleted file mode 100644
index 51ce444..0000000
--- a/src/kernel/gdt/gdt.asm
+++ /dev/null
@@ -1,14 +0,0 @@
-; GDT flush function
-global gdt_flush
-extern gp
-gdt_flush:
- lgdt [gp]
- mov ax, 0x10 ; Data segment offset of GDT
- mov ds, ax
- mov es, ax
- mov fs, ax
- mov gs, ax
- mov ss, ax
- jmp 0x08:flush ; Code segment offset
-flush:
- ret ; Returns to C code \ No newline at end of file