Chameleon

Chameleon Commit Details

Date:2010-08-11 02:20:58 (7 years 4 months ago)
Author:Tamás Kosárszky
Commit:351
Parents: 350
Message:Disabling GUI if initGUI() returns with an error.
Changes:
M/trunk/i386/boot2/boot.c

File differences

trunk/i386/boot2/boot.c
320320
321321
322322
323
324
325
326
327
328
329
323
324
325
326
327
328
329
330
330331
331332
332333
getc();
#endif
useGUI = true;
// Override useGUI default
getBoolForKey(kGUIKey, &useGUI, &bootInfo->bootConfig);
if (useGUI) {
/* XXX AsereBLN handle error */
initGUI();
}
useGUI = true;
// Override useGUI default
getBoolForKey(kGUIKey, &useGUI, &bootInfo->bootConfig);
if (useGUI && initGUI())
{
// initGUI() returned with an error, disabling GUI.
useGUI = false;
}
setBootGlobals(bvChain);

Archive Download the corresponding diff file

Revision: 351