summaryrefslogtreecommitdiffstats
path: root/arch/x86/gdt/GoToGdtMemSeg.s
diff options
context:
space:
mode:
authorAlexey Gavrilov <rebovas@yahoo.com>2024-03-06 15:32:17 +0700
committerAlexey Gavrilov <rebovas@yahoo.com>2024-03-06 15:32:17 +0700
commit244a9154e42a49470bd28e3a95ebe9f4a5fe5ff7 (patch)
tree4999e8c789a036511a1b6bbaec594b712bb1f64a /arch/x86/gdt/GoToGdtMemSeg.s
parent1af53b431da6d3b5dcf7132f98f9eb2af88b57fa (diff)
Initialization mechanism
Diffstat (limited to 'arch/x86/gdt/GoToGdtMemSeg.s')
-rw-r--r--arch/x86/gdt/GoToGdtMemSeg.s13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/gdt/GoToGdtMemSeg.s b/arch/x86/gdt/GoToGdtMemSeg.s
deleted file mode 100644
index 2b5dd62..0000000
--- a/arch/x86/gdt/GoToGdtMemSeg.s
+++ /dev/null
@@ -1,13 +0,0 @@
-global GOTOGDTMEMSEG
-GOTOGDTMEMSEG:
- 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: