Comments.
[pintos-anon] / src / threads / loader.S
index 3d440d20d58d2b30c3228c65c278a82cf8d51893..704b1d9b2f76a93e3d2e20a31b375562a22f65b9 100644 (file)
        cli
        cld
 
-# Set up segment registers and stack.
-# Stack grows downward starting from us.
+# Set up data segments and stack.
 
        subw %ax, %ax
        movw %ax, %es
        movw %ax, %ds
+
+# Stack grows downward starting from us.
+# We don't ever use the stack so this is strictly speaking
+# unnecessary.
+
        movw %ax, %ss
        movw $0x7c00, %sp