:: commit 945daf4242c6f553e43956effb38d9e404b383c0

mintsuki <mintsuki@protonmail.com> — 2020-11-04 23:56

parents: 42a6eeb7d3

bootsect: Remove useless instructions

diff --git a/bootsect/gdt.inc b/bootsect/gdt.inc
index 1fe6c22e..e8735424 100644
--- a/bootsect/gdt.inc
+++ b/bootsect/gdt.inc
@@ -6,18 +6,15 @@
 load_gdt:
     pusha
     push es
-    push ds
     mov ax, word [0x40e] ; 0x40e contains the value of a segment pointing to the EBDA
     sub ax, ALIGN_UP(gdt.size, 16) / 16
     mov es, ax
     mov word  [gdt.ptr], ax
     shl dword [gdt.ptr], 4
     xor di, di
-    mov ds, di
     mov si, gdt.start
     mov cx, gdt.size
     rep movsb
-    pop ds
     lgdt [gdt]
     pop es
     popa
diff --git a/limine.bin b/limine.bin
index d4991e8a..caf6a0e6 100644
Binary files a/limine.bin and b/limine.bin differ
tab: 248 wrap: offon