Chameleon

Chameleon Commit Details

Date:2011-01-29 23:14:09 (9 years 9 months ago)
Author:Evan Lojewski
Commit:716
Parents: 715
Message:Cannot use printf with GARPHICS_MODE when the gui module has not been loaded, remove the printf call from the module debug to before GRAPHICS_MODE is set.
Changes:
M/branches/meklort/i386/boot2/boot.c

File differences

branches/meklort/i386/boot2/boot.c
190190
191191
192192
193
193
194
195
194196
195197
196198
......
200202
201203
202204
203
204205
205206
206207
......
326327
327328
328329
329
330
330331
331332
332333
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();

Archive Download the corresponding diff file

Revision: 716