Chameleon

Chameleon Commit Details

Date:2010-11-21 13:06:54 (13 years 5 months ago)
Author:Azimutz
Commit:644
Parents: 643
Message:Help Mozo with English on some verbose messages (aml_generator.c). Remove "reverted change" entry and fix some typos on CHANGES file; add mention to P/C States generation. Add related power states keys to BootHelp.txt; hope descriptions are ok, got some doubts on the C2->C4 one; please correct me if necessary.
Changes:
M/trunk/doc/BootHelp.txt
M/trunk/CHANGES
M/trunk/i386/libsaio/aml_generator.c

File differences

trunk/doc/BootHelp.txt
9292
9393
9494
95
96
97
98
99
100
101
95102
96103
97104
DSDT=<file> Use an alternate DSDT.aml file
(default path: /DSDT.aml /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).
GenerateCStates=Yes Enable auto generation of Processor (C-States) and/or
GeneratePStates=Yes Performance (P-States) power states.
EnableC2State=Yes Enable specific Processor power states,
EnableC3State=Yes C2, C3, C4.
EnableC4State=Yes
SMBIOS=<file> Use an alternate SMBIOS.plist file
(default path: /Extra/SMBIOS.plist bt(0,0)/Extra/SMBIOS.plist).
trunk/CHANGES
1
12
23
3
44
55
66
......
2121
2222
2323
24
24
2525
2626
2727
2828
29
29
3030
3131
3232
......
3535
3636
3737
38
38
3939
40
40
4141
42
42
4343
4444
45
45
4646
4747
4848
- Added automatic P-States & C-States generation for native power management.
- Added Booter Log Dump Tool
- Added Booter message Logging (":/boot-log" ioreg property)
- Removed obsolete -f option, use -x instead
- Removed -x32 option, use arch=i386 instead
- Added automatic SMBusspeed detection for lga1156 core i5/7 cpus
- Added new iMac11,1 sbios default model for lga1156 core i5/17 mobos
- Optimized cursor spinout in textmode if no verbose mode is set
- Added ram table structures definitions
- Added getSmbios() a param permitting to select between orig and new smbios entries
- Changed "Default Partition" behaviour to accept only native system volumes or foreign partitions.
- Changed "Default Partition" behavior to accept only native system volumes or foreign partitions.
- Added NVIDIA new NVCAP customization support and support for ION gfx cards from aserebln
- Added ATI new framebuffers support and new cards from PCEFI10.6
- improved ACPI file search algo by implementing a cache.
- Nvidia injection fix
- pciroot would not always return correct uuid in autodection mode
- pciroot would not always return correct uid in autodection mode
- Fixed the hibernation problem in boot2/resume.c
- Fixed all new booter versions with SystemType would override the facp value even if correct,
now keeps the facp value if correct and no override has been done, implemented a best effort algo.
conversions api, to be completed by function that we should reuse.
- Fixed SystemType would be always forced to a value, now optionally changed
only if ovveriden
only if overriden
- Kept SystemID as the only option to change manually the system-id
For theses reasons, SystemId from bootConfig and SMUUID from smbiosConfig aer now DEPRECATED.
For theses reasons, SystemId from bootConfig and SMUUID from smbiosConfig are now DEPRECATED.
- Integrated JrCs fadt patch (kept for RC5 the existing DSDT.aml retry algo that disapeared in his patch, should be more discussed for RC6)
- Integrated JrCs fadt patch (kept for RC5 the existing DSDT.aml retry algo that disappeared in his patch, should be more discussed for RC6)
- Added JrCs modified convention name change to coding_standards
- Now malloc (ex. MALLOC in Asere patch) is renamed malloc(size) and is an alias
to safe_malloc(size, file, line) with _FILE_ and _LINE_ prerocessor definitions
to safe_malloc(size, file, line) with _FILE_ and _LINE_ preprocessor definitions
- Added a new 'Rename Partition Feature', now permitting to rename partition
like 'System reserved' to a more meaningful name
- Added SystemID option permitting to change the System UUID to a fixed value.
trunk/i386/libsaio/aml_generator.c
2121
2222
2323
24
24
2525
2626
2727
2828
29
29
3030
3131
3232
......
173173
174174
175175
176
176
177177
178178
179179
......
190190
191191
192192
193
193
194194
195195
196196
case AML_CHUNK_DWORD:
case AML_CHUNK_QWORD:
case AML_CHUNK_ALIAS:
verbose("aml_add_to_parent: Node isn't supports child nodes!");
verbose("aml_add_to_parent: node doesn't support child nodes!");
return false;
case AML_CHUNK_NAME:
if (parent->First)
{
verbose("aml_add_to_parent: Name node could have only one child node!");
verbose("aml_add_to_parent: name node supports only one child node!");
return false;
}
break;
{
if (strlen(name) < 4)
{
verbose("aml_fill_simple_name: simple name %s has incorrect lengh! Must be 4", name);
verbose("aml_fill_simple_name: simple name %s has incorrect lengh! Must be 4.", name);
return 0;
}
if ((len % 4) > 1 || count == 0)
{
verbose("aml_fill_name: pathname %s has incorrect length! Must be 4, 8, 12, 16 etc.", name);
verbose("aml_fill_name: pathname %s has incorrect length! Must be 4, 8, 12, 16, etc...", name);
return 0;
}

Archive Download the corresponding diff file

Revision: 644