diff options
| author | rsc <rsc> | 2007-08-28 18:04:43 +0000 | 
|---|---|---|
| committer | rsc <rsc> | 2007-08-28 18:04:43 +0000 | 
| commit | 3e1eaf226d501fc4f57592e1c75c885f8b2e5d99 (patch) | |
| tree | 5e8d9ce18b927d127abe3a64c29f91ed797deb56 | |
| parent | a491dba00c4ff5c76a6287f40d045aa9aedc0d61 (diff) | |
| download | xv6-labs-3e1eaf226d501fc4f57592e1c75c885f8b2e5d99.tar.gz xv6-labs-3e1eaf226d501fc4f57592e1c75c885f8b2e5d99.tar.bz2 xv6-labs-3e1eaf226d501fc4f57592e1c75c885f8b2e5d99.zip | |
fix offsets
| -rw-r--r-- | bootmain.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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" | 
