Chameleon

Chameleon Commit Details

Date:2011-05-15 09:12:45 (8 years 1 month ago)
Author:Azimutz
Commit:820
Parents: 819
Message:"execute_hook("Kernel Start", (void*)kernelEntry, (void*)bootArgs,..." is causing problems: - instant reboot or hang according to placement - doing it after "if(gVerboseMode)" causes the GUI to "flicker" I'm causing problems to my self: - while looking at this, i noticed i completely forgot about boot_args/boot_args_pre_lion...
Changes:
M/branches/azimutz/Chazi/i386/boot2/boot.c

File differences

branches/azimutz/Chazi/i386/boot2/boot.c
217217
218218
219219
220
221
222
223
220224
221225
222226
......
226230
227231
228232
229
230
231
232233
233234
234235
// on closeVbios().. the more i think, the less sense it makes doing it there!!
//autoresolution - end
// Notify modules that the kernel is about to be started
// testing...
execute_hook("Kernel Start", (void*)kernelEntry, (void*)bootArgs, NULL, NULL);
// If we were in text mode, switch to graphics mode.
// This will draw the boot graphics unless we are in
// verbose mode.
else
drawBootGraphics();
// Notify modules that the kernel is about to be started
execute_hook("Kernel Start", (void*)kernelEntry, (void*)bootArgs, NULL, NULL);
setupBooterLog();
finalizeBootStruct();

Archive Download the corresponding diff file

Revision: 820