␉␉printf("Press any key to continue...");␊ |
␉␉getc();␊ |
␉}␊ |
␉␉␊ |
␉␊ |
␉execute_hook("Kernel Start", (void*)kernelEntry, (void*)bootArgs, NULL, NULL);␉// Notify modules that the kernel is about to be started␊ |
␊ |
␉if (bootArgs->Video.v_display == VGA_TEXT_MODE)␊ |
␉{␊ |
␉␉setVideoMode( GRAPHICS_MODE, 0 );␊ |
|
#endif␊ |
␉}␊ |
␊ |
execute_hook("Kernel Start", (void*)kernelEntry, (void*)bootArgs, NULL, NULL);␉// Notify modules that the kernel is about to be started␊ |
␊ |
␉setupBooterLog();␊ |
␉␊ |
|
␉␊ |
␉execute_hook("ModulesLoaded", NULL, NULL, NULL, NULL);␊ |
␊ |
␉␊ |
␊ |
#ifndef OPTION_ROM␊ |
// Loading preboot ramdisk if exists.␊ |
loadPrebootRAMDisk();␊ |