summaryrefslogtreecommitdiffstats
path: root/arch/x86/gdt/SwitchToGdt.s
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/gdt/SwitchToGdt.s')
-rw-r--r--arch/x86/gdt/SwitchToGdt.s13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/gdt/SwitchToGdt.s b/arch/x86/gdt/SwitchToGdt.s
deleted file mode 100644
index 52ebbc7..0000000
--- a/arch/x86/gdt/SwitchToGdt.s
+++ /dev/null
@@ -1,13 +0,0 @@
-global SWITCHTOGDT
-SWITCHTOGDT:
- lgdt [esp + 4]
- jmp 0x08:.reloadCS
-.reloadCS:
- mov ax, 0x10
- mov ds, ax
- mov es, ax
- mov fs, ax
- mov gs, ax
- mov ss, ax
- ret
-.end: