Partager via


Boot with a Boot Loader

To boot from a boot loader, the boot loader must know the location of the StartUp function to jump to once the image is downloaded. This location is specified in the kernel source file directory \Kernel\Hal\Buildexe. The boot loader obtains the start address from the .bin file that is downloaded, then jumps to the StartUp function as specified in the sources file. The last record of the .bin file contains the start address, which has a length equal to the address of the startup function with a checksum of 0. To see the start address for Startup, use the following command.

viewbin –r nk.bin

The output will be similar to the following:

Record [ 36] : Start = 0x00000000, Length = 0x0020B650, Chksum = 0x00000000

The boot loader gets the start address from the downloaded .bin file and then jumps to StartUp.

EXEENTRY=StartUp   / specifies the StartUp function

See Also

Boot without a Boot Loader | Modes for Booting the OS

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.