From f31b7fd0769b818f910546ec97284cceb7450593 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 11 Sep 2004 22:05:30 +0000 Subject: [PATCH] Comments. --- src/threads/loader.S | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/threads/loader.S b/src/threads/loader.S index 3d440d2..704b1d9 100644 --- a/src/threads/loader.S +++ b/src/threads/loader.S @@ -67,12 +67,16 @@ 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 -- 2.30.2