Skip to content

Commit

Permalink
fix offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed Aug 28, 2007
1 parent a491dba commit 3e1eaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootmain.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 3e1eaf2

Please sign in to comment.