提交 3e1eaf22 创建 作者: rsc's avatar rsc

fix offsets

上级 a491dba0
// Boot loader. // 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 // into memory and executes it. The boot sector puts the processor
// in 32-bit mode and calls bootmain below, which loads an ELF kernel // 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. // kernel entry routine.
#include "types.h" #include "types.h"
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论