aboutsummaryrefslogtreecommitdiff
path: root/src/gdt/gdt.asm
diff options
context:
space:
mode:
authorMarvin Borner2019-09-19 19:56:59 +0200
committerMarvin Borner2019-09-19 20:05:38 +0200
commit05e1fedcc9cd30d1a34a65e640da45e980b4f859 (patch)
tree9cfb7620907ac126f26cdfe9363cb73ed74ea179 /src/gdt/gdt.asm
parentffd82e18b5259fab477ad375a7af8550fac526d8 (diff)
Moved source to kernel directory
Diffstat (limited to 'src/gdt/gdt.asm')
-rw-r--r--src/gdt/gdt.asm14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gdt/gdt.asm b/src/gdt/gdt.asm
deleted file mode 100644
index c2128e4..0000000
--- a/src/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:flush2 ; Code segment offset
-flush2:
- ret ; Returns to C code \ No newline at end of file