Improved comments about the manual symbol relocations.

Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14382 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-10-14 11:49:35 +00:00
parent 8423f6f478
commit d32f04d20a

View File

@ -57,6 +57,7 @@ floppy_start:
.code32 // we need to create a 32-bit relocation entry for the linker...
.byte 0x67
movw sNumSectors - 0x10000, %di
// the loader symbols are located at offset 0x10000
.code16
xor %dh, %dh // head 0, don't change BIOS boot device
mov $0x2, %cx // sector 2
@ -74,7 +75,9 @@ start_loader:
// indicate that we were booted from CD/floppy
.code32
.byte 0x67
movb $1, gCDFloppyBoot - 0x7c00 // %ds is 0x7c0 right now
movb $1, gCDFloppyBoot - 0x7c00
// %ds is 0x7c0 right now, but the symbol were loaded
// to offset 0x10000
.code16
// set our environment and jump to the standard BFS boot block entry point