From d799658be412e159ec3cb22af4310625badf5da7 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Thu, 5 Nov 2020 00:56:52 +0100 Subject: [PATCH] bootsect: Remove useless instructions --- bootsect/gdt.inc | 3 --- limine.bin | Bin 32768 -> 32768 bytes 2 files changed, 3 deletions(-) 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 f07d814328dc1423463f67f1c81133f075636d96..007482cb90c86701db5f308bda6d72a49d37607d 100644 GIT binary patch delta 53 zcmV-50LuS>fC7Mk0HO0Q00D4*?cU MlSKh%v#