about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2020-06-23 20:34:54 +0200
committerYour Name <you@example.com>2020-06-23 20:34:54 +0200
commitaaa5ae650e3e2efe215c44571bd4abd637029cc7 (patch)
tree8dc598015280748f575800790f23d8fdf7e6f74f
parentFormat: Added the option to get the hour in the 12h format (instead of (diff)
downloadpOS-aaa5ae650e3e2efe215c44571bd4abd637029cc7.tar.gz
pOS-aaa5ae650e3e2efe215c44571bd4abd637029cc7.tar.bz2
pOS-aaa5ae650e3e2efe215c44571bd4abd637029cc7.zip
Cleanup: deleted unnecesary gdt struct
-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