Chameleon

Chameleon Commit Details

Date:2011-07-28 18:59:26 (12 years 8 months ago)
Author:Cosmosis Jones
Commit:1228
Parents: 1227
Message:changed so that it has to be compiled w/ debug to output the sleep warning
Changes:
M/trunk/i386/boot2/boot.c

File differences

trunk/i386/boot2/boot.c
428428
429429
430430
431
431432
432433
433434
434435
435436
436437
437
438
438439
439440
440441
441442
442443
443
444444
445445
446446
......
481481
482482
483483
484
484485
486
485487
486488
487489
} else {
archCpuType = CPU_TYPE_I386;
}
if (getValueForKey(karch, &val, &len, &bootInfo->chameleonConfig)) {
if (strncmp(val, "i386", 4) == 0) {
archCpuType = CPU_TYPE_I386;
}
}
if (getValueForKey(kKernelArchKey, &val, &len, &bootInfo->chameleonConfig)) {
if (getValueForKey(kKernelArchKey, &val, &len, &bootInfo->chameleonConfig)) {
if (strncmp(val, "i386", 4) == 0) {
archCpuType = CPU_TYPE_I386;
}
}
//archCpuType = CPU_TYPE_I386;
// Notify moduals that we are attempting to boot
execute_hook("PreBoot", NULL, NULL, NULL, NULL);
break;
if (!forceresume && ((sleeptime+3)<bvr->modTime)) {
#if DEBUG
printf ("Hibernate image is too old by %d seconds. Use ForceWake=y to override\n",bvr->modTime-sleeptime);
#endif
break;
}

Archive Download the corresponding diff file

Revision: 1228