Possibly fixed BootLoaderTest build.
* Adapted to x86_64 changes.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003-2005, Axel Dörfler, [email protected].
|
* Copyright 2003-2013, Axel Dörfler, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -25,7 +25,11 @@ platform_exit(void)
|
|||||||
void
|
void
|
||||||
platform_start_kernel(void)
|
platform_start_kernel(void)
|
||||||
{
|
{
|
||||||
printf("*** jump to kernel at %p ***\n*** program exits.\n", (void *)gKernelArgs.kernel_image.elf_header.e_entry);
|
preloaded_elf32_image *image = static_cast<preloaded_elf32_image *>(
|
||||||
|
gKernelArgs.kernel_image.Pointer());
|
||||||
|
|
||||||
|
printf("*** jump to kernel at %p ***\n*** program exits.\n",
|
||||||
|
(void *)image->elf_header.e_entry);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,4 +44,3 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user