bootsect: Remove useless instructions

This commit is contained in:
mintsuki 2020-11-05 00:56:52 +01:00
parent 48a9d06aa2
commit d799658be4
2 changed files with 0 additions and 3 deletions

View File

@ -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

Binary file not shown.