Chameleon

Chameleon Commit Details

Date:2010-10-30 13:27:12 (13 years 5 months ago)
Author:Azimutz
Commit:624
Parents: 623
Message:More style s...tuff
Changes:
M/branches/azimutz/Chazi/i386/libsaio/stringTable.c
M/branches/azimutz/Chazi/i386/libsaio/acpi_patcher.c
M/branches/azimutz/Chazi/i386/boot2/boot.h

File differences

branches/azimutz/Chazi/i386/libsaio/acpi_patcher.c
285285
286286
287287
288
289
288
289
290290
291291
292292
bool c3_enabled = false;
bool c4_enabled = false;
getBoolForKey(kEnableC2States, &c2_enabled, &bootInfo->bootConfig);
getBoolForKey(kEnableC3States, &c3_enabled, &bootInfo->bootConfig);
getBoolForKey(kEnableC2StatesKey, &c2_enabled, &bootInfo->bootConfig);
getBoolForKey(kEnableC3StatesKey, &c3_enabled, &bootInfo->bootConfig);
getBoolForKey(kEnableC4StatesKey, &c4_enabled, &bootInfo->bootConfig);
c2_enabled = c2_enabled | (fadt->C2_Latency < 100);
branches/azimutz/Chazi/i386/libsaio/stringTable.c
609609
610610
611611
612
612
613613
614614
615615
{
char *dirspec[] = {
//"/Extra/com.apple.Boot.plist", removed in favor of bt(0,0)... BS!
//Azi: review; at this point /Extra/modules/ = bt(0,0)/Extra/modules/.
//Azi: review; at this point /Extra = bt(0,0)/Extra.
"bt(0,0)/Extra/com.apple.Boot.plist",
"/Library/Preferences/SystemConfiguration/com.apple.Boot.plist",
"/com.apple.boot.P/Library/Preferences/SystemConfiguration/com.apple.Boot.plist",
branches/azimutz/Chazi/i386/boot2/boot.h
118118
119119
120120
121
122
121
122
123123
124124
125125
#define kRestartFixKey "RestartFix" // acpi_patcher.cgetBoolFK- revert to true?
#define kGeneratePStatesKey "GeneratePStates" // acpi_patcher.cgetBoolFK- add to BootHelp***
#define kGenerateCStatesKey "GenerateCStates" // acpi_patcher.cgetBoolFK||
#define kEnableC2States "EnableC2State" // acpi_patcher.cgetBoolFK||
#define kEnableC3States "EnableC3State" // acpi_patcher.cgetBoolFK||
#define kEnableC2StatesKey "EnableC2State" // acpi_patcher.cgetBoolFK||
#define kEnableC3StatesKey "EnableC3State" // acpi_patcher.cgetBoolFK||
#define kEnableC4StatesKey "EnableC4State" // acpi_patcher.cgetBoolFK||
#define kUseMemDetectKey "UseMemDetect" // platform.cgetBoolFK
#define kSMBIOSdefaultsKey "SMBIOSdefaults" // smbios_patcher.cgetBoolFK

Archive Download the corresponding diff file

Revision: 624