From: rsc Date: Tue, 28 Aug 2007 18:04:43 +0000 (+0000) Subject: fix offsets X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=3e1eaf226d501fc4f57592e1c75c885f8b2e5d99;p=cs3210-lab1.git fix offsets --- diff --git a/bootmain.c b/bootmain.c index c891e1b..5f9e51b 100644 --- a/bootmain.c +++ b/bootmain.c @@ -1,9 +1,9 @@ // Boot loader. // -// The BIOS loads boot sector (bootasm.S) from sector 1 of the disk +// The BIOS loads boot sector (bootasm.S) from sector 0 of the disk // into memory and executes it. The boot sector puts the processor // in 32-bit mode and calls bootmain below, which loads an ELF kernel -// image from the disk starting at sector 2 and then jumps to the +// image from the disk starting at sector 1 and then jumps to the // kernel entry routine. #include "types.h"