about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootloader/utils/gdt.s33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/bootloader/utils/gdt.s b/src/bootloader/utils/gdt.s
deleted file mode 100644
index 58883fd..0000000
--- a/src/bootloader/utils/gdt.s
+++ /dev/null
@@ -1,33 +0,0 @@
-gdt_start:
-  gdt_null:
-  dq 0
-
-  gdt_code:
-  dw 0FFFFh
-  dw 0
-
-  db 0
-  db 10011010b
-  db 11001111b
-  db 0
-
-  gdt_data:
-  dw 0FFFFh
-  dw 0
-
-  db 0
-  db 10010010b
-  db 11001111b
-  db 0
-
-  gdt_end:
-
-  gdt:
-   dw gdt_end - gdt_start - 1
-   dd gdt_start
-
-load_GDT:
-    cli
-    lgdt [gdt]
-    sti
-    ret