summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-08-26 17:10:22 +0000
committerJoursoir <chat@joursoir.net>2021-08-26 17:10:22 +0000
commitaec6cebe2b037cc27e3d8608a06dbe2f1bbe270b (patch)
treedaf69c06fdd78df740815ae42396740674a2268d /arch/x86
parent2079e614e993e5f68a48ff9d55e872157f4de2aa (diff)
downloadmfsos-aec6cebe2b037cc27e3d8608a06dbe2f1bbe270b.tar.gz
mfsos-aec6cebe2b037cc27e3d8608a06dbe2f1bbe270b.tar.bz2
mfsos-aec6cebe2b037cc27e3d8608a06dbe2f1bbe270b.zip
x86/boot/bootsect: delete meaningless comments
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/boot/bootsect.s8
1 files 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