image_start(), image_start_ext()

Jump to the bootable OS image start point

Synopsis:

int image_start (unsigned long address)
int image_start_ext (unsigned long address)

Arguments:

address
The address in memory of the OS startup code to which the function must jump

Description:

The image_start() and image_start_ext() functions start the OS image by jumping to the startup_vaddr address as defined in the startup header (see The startup header).

You use the image_start_ext() function for an x86 system with a BIOS. This function starts the OS image with a jump instruction that uses the BIOS.

Returns:

These functions should never return; if they fail, they return -1.

-1
Failure