Chameleon

Chameleon Commit Details

Date:2011-07-11 00:29:57 (7 years 11 months ago)
Author:armel cadet-petit
Commit:1141
Parents: 1140
Message:doc updated again
Changes:
M/branches/cparm/i386/modules/GUI/gui.c
M/branches/cparm/doc/README
M/branches/cparm/i386/modules/ACPICodec/acpi_codec.c

File differences

branches/cparm/doc/README
4545
4646
4747
48
49
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
5073
5174
5275
mkdir /Extra/modules
cp Symbols.dylib /Extra/modules
cp "Any other module wanted".dylib /Extra/modules
No need to use startupfiletool anymore!
No need to use startupfiletool anymore!
IMPORTANT NOTE ABOUT THE MODULES: PLEASE NOTE THAT ALL MODULES ARE NOT NECESSARILY NEEDED TO BE INSTALLED, YOU JUST HAVE TO INSTALL WHAT YOU NEED,
FOR EXEMPLE:
- IF YOU DON'T PLAN TO USE A RAMDISK (PREBBOT.DMG OR POSTBOOT.IMG), YOU WILL SURELY NOT NEED TO INSTALL THE RAMDISKLOADER MODULE,
- IF YOU DON'T PLAN TO BOOT FROM AN HIBERNATE IMAGE YOU WILL SURELY NOT NEED TO INSTALL THE HIBERNATEENABLER MODULE,
- IF YOUR MACHINE IS NOT A NETBOOK, YOU WILL SURELY NOT NEED TO INSTALL THE NETBOOKINSTALLER MODULE,
- IF YOU DON'T NEED TO PATCH THE KERNEL ON THE FLY, PLEASE DO NOT INSTALL THE KERNELPATCHER MODULE,
PLEASE DO NOT USE ACPIPATCHER AND ACPICODEC TOGETHER, THEY DO THE SAME THING BUT IN A DIFFERENT WAY, YOU HAVE TO CHOOSE ONE OF THEM (ACPICODEC IS RECOMMENDED), THIS ISSUE WILL BE FIXED WITH THE BUNDLED MODULE VERSION
PLEASE DO NOT USE SMBIOSGETTERS AND SMBIOSPATCHER TOGETHER, THEY DO THE SAME THING BUT IN A DIFFERENT WAY, YOU HAVE TO CHOOSE ONE OF THEM (SMBIOSGETTERS IS RECOMMENDED), THIS ISSUE WILL BE FIXED WITH THE BUNDLED MODULE VERSION
HERE IS ONE OF THE MOST COMMON USAGE:
- ACPICODEC (FOR ACPI FIXES, AND IF YOU DON'T HAVE A ALREADY PATCHED BIOS)
- GRAPGHICENABLER (IF YOU HAVE NOT FIXED THIS BY THE DSDT, THIS MODULE CAN ADD THE EFI STING FOR YOUR GRAPHIC CARD)
- GUI (IF YOU WANT A GUI)
- KEYMAPPER (IF YOU WANT TO REMAP YOUR KEYBOARD (AN AZERTY PRESET IS AVAILABLE), SEE MODULEHELP.TXT FOR USAGE)
- SMBIOSGETTERS (FOR SMBIOS FIXES, AND IF YOU DON'T HAVE A ALREADY PATCHED BIOS)
- MEMORY (FOR RAM DETECTION, THIS MODULE IS ACTUALLY A PLUGIN FOR SMBIOSGETTERS OR SMBIOSPATCHER, AND IT WILL NOT WORK WITHOUT ONE OF THEM, IT WILL BE MORE CLEAR WITH THE BUNDLED MODULES)
- SYMBOLS IS ABSOLUTELY NEEDED IF YOU USE AT LEAST ONE OTHER MODULE
LAST THING, PLEASE NOTE THAT ALL MODULES ARE ENABLED BY DEFAULT ONCE THEY ARE INSTALLED, THERE IS NO NEED TO ENABLE THEM BY AN OPTION BUT OF COURSE YOU CAN DISABLE A MODULE EVEN IF THE MODULE IS INSTALLED
RAID Install:
branches/cparm/i386/modules/GUI/gui.c
793793
794794
795795
796
796
797
798
799
800
801
802
803
797804
798805
799806
......
806813
807814
808815
809
816
817
818
810819
811820
812821
......
816825
817826
818827
828
829
819830
820831
821832
822833
823834
824
835
836
837
838
825839
826840
827841
828842
829843
844
845
830846
831847
832848
sprintf(dirsrc, "bt(0,0)/Extra/Themes");
} else {
return 1;
ret = GetFileInfo("rd(0,0)/Extra/", "Themes", &flags, &time);
if ((ret == 0) && ((flags & kFileTypeMask) == kFileTypeDirectory)) {
sprintf(dirsrc, "rd(0,0)/Extra/Themes");
} else {
printf("Failed to find the /extra/Themes folder\n");
return 1;
}
}
}
if (theme_ran) {
ret = randomTheme(dirsrc, &theme_name);
ret = randomTheme(dirsrc, &theme_name);
if (ret) printf("randomTheme Failed !! \n");
}
if (getValueForKey( "Theme", &theme_name, &len, &bootInfo->bootConfig ) == true)
{
ret = startGUI();
if (ret) printf("Failed to load Theme : %s !! \n", theme_name);
}
#ifdef EMBED_THEME
if (ret) {
theme_name = "";
ret = startGUI();
ret = startGUI();
if (ret) printf("Failed to load Embed Theme !! \n");
}
#endif
if (ret) {
theme_name = THEME_NAME_DEFAULT;
ret = startGUI();
if (ret) printf("Failed to load Default Theme : %s !! \n", THEME_NAME_DEFAULT);
}
}
return ret;
branches/cparm/i386/modules/ACPICodec/acpi_codec.c
12541254
12551255
12561256
1257
1258
1259
1257
1258
1259
1260
1261
1262
1263
1264
12601265
12611266
12621267
if ( (value=getStringForKey("SystemType", &bootInfo->bootConfig))!=NULL) {
if ((Type = (unsigned char) strtoul(value, NULL, 10) ) <= MaxSupportedPMProfile)
{
verbose("FADT: changing Preferred_PM_Profile from %d to %d\n", fadt->PreferredProfile, Type);
fadt_mod->PreferredProfile = Platform->Type = Type;
} else verbose("Error: system-type must be 0..6. Defaulting to %d !\n", Platform->Type);
if (fadt_mod->PreferredProfile != Type) {
verbose("FADT: changing Preferred_PM_Profile from %d to %d\n", fadt->PreferredProfile, Type);
fadt_mod->PreferredProfile = Platform->Type = Type;
} else {
DBG("FADT: Preferred_PM_Profile was already set to %d, no need to be changed\n",Type);
}
} else printf("Error: system-type must be 0..6. Defaulting to %d !\n", Platform->Type);
}
getBoolForKey(KIntelFADT, &intelfadtspec, &bootInfo->bootConfig);

Archive Download the corresponding diff file

Revision: 1141