From aec6cebe2b037cc27e3d8608a06dbe2f1bbe270b Mon Sep 17 00:00:00 2001 From: Joursoir Date: Thu, 26 Aug 2021 17:10:22 +0000 Subject: x86/boot/bootsect: delete meaningless comments --- arch/x86/boot/bootsect.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/boot/bootsect.s b/arch/x86/boot/bootsect.s index ecbdf16..4af35d6 100644 --- a/arch/x86/boot/bootsect.s +++ b/arch/x86/boot/bootsect.s @@ -13,11 +13,11 @@ _start: # CS = 0 and IP = _start2 _start2: mov %cs, %ax # AX = CS = 0 (see above) - mov %ax, %ds # Zero segment registers + mov %ax, %ds # Zero segment registers mov %ax, %es - mov %ax, %ss # zero stack (?) - mov %ax, %sp # zero stack pointer (?) - # Don't touch FS and GS register (why?) + mov %ax, %ss + mov %ax, %sp + cld # Set direction flag for incrementing mov %dl, boot_drive # BIOS stores our boot drive in DL, # so we remember it -- cgit v1.2.3-18-g5258