Chameleon

Chameleon Commit Details

Date:2012-05-23 17:10:58 (11 years 10 months ago)
Author:ErmaC
Commit:1976
Parents: 1975
Message:Added few subdevId for DevId_9460: http://www.insanelymac.com/forum/index.php?showtopic=231075&view= findpost&p=1822355
Changes:
M/branches/ErmaC/Trunk/i386/libsaio/acpi_patcher.h
M/branches/ErmaC/Trunk/i386/libsaio/ati.c
M/branches/ErmaC/Trunk/i386/libsaio/acpi_patcher.c
M/branches/ErmaC/Trunk/doc/BootHelp.txt
M/branches/ErmaC/Trunk/Chameleon.xcodeproj/project.pbxproj

File differences

branches/ErmaC/Trunk/Chameleon.xcodeproj/project.pbxproj
13731373
13741374
13751375
1376
1376
13771377
13781378
13791379
B4526098153EFCE90018E994 /* bg.po */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bg.po; sourceTree = "<group>"; };
B4526099153EFCE90018E994 /* bs.po */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bs.po; sourceTree = "<group>"; };
B452609A153EFCE90018E994 /* ca.po */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ca.po; sourceTree = "<group>"; };
B452609B153EFCE90018E994 /* chameleon.pot */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = chameleon.pot; sourceTree = "<group>"; };
B452609B153EFCE90018E994 /* chameleon.pot */ = {isa = PBXFileReference; explicitFileType = text; fileEncoding = 4; path = chameleon.pot; sourceTree = "<group>"; };
B452609C153EFCE90018E994 /* cs.po */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cs.po; sourceTree = "<group>"; };
B452609D153EFCE90018E994 /* de.po */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = de.po; sourceTree = "<group>"; };
B452609E153EFCE90018E994 /* el.po */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = el.po; sourceTree = "<group>"; };
branches/ErmaC/Trunk/i386/libsaio/acpi_patcher.c
111111
112112
113113
114
114
115115
116116
117117
......
984984
985985
986986
987
987
988988
989989
990990
......
992992
993993
994994
995
995
996996
997997
998998
if (fd < 0)
{
// NOT FOUND:
verbose("ACPI table not found: %s\n", filename);
verbose("ACPI Table not found: %s\n", filename);
*dirSpec = '\0';
}
else
{
rsdp_mod->RsdtAddress=0;
printf("RSDT not found or RSDT incorrect\n");
printf("RSDT not found or incorrect\n");
}
if (version)
struct acpi_2_xsdt *xsdt, *xsdt_mod;
// FIXME: handle 64-bit address correctly
xsdt=(struct acpi_2_xsdt*) ((uint32_t)rsdp->XsdtAddress);
DBG("XSDT @%x;%x, Length=%d\n", (uint32_t)(rsdp->XsdtAddress>>32),(uint32_t)rsdp->XsdtAddress,
xsdt->Length);
branches/ErmaC/Trunk/i386/libsaio/acpi_patcher.h
3434
3535
3636
37
38
39
40
41
42
43
44
3745
uint32_tFrequency;
};
/*
struct t_state
{
uint32_tperf;
uint32_tpwer;
uint8_tctrl;
};
*/
#endif /* !__LIBSAIO_ACPI_PATCHER_H */
branches/ErmaC/Trunk/i386/libsaio/ati.c
305305
306306
307307
308
309
310
311
308312
309313
310314
{ 0x944E,0x3260174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4810", kMotmot},
{ 0x944E,0x3261174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4810", kMotmot},
{ 0x9460,0x27021682, CHIP_FAMILY_RV770,"ATI Radeon HD 4890", kMotmot},
{ 0x9460,0xE115174b, CHIP_FAMILY_RV770,"ATI Radeon HD 4890", kMotmot},
{ 0x9460,0xE118174b, CHIP_FAMILY_RV770,"ATI Radeon HD 4890", kMotmot},
{ 0x9480,0x01211025, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kGliff},
{ 0x9480,0x03111025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kNull},
{ 0x9480,0x03121025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kNull},
branches/ErmaC/Trunk/doc/BootHelp.txt
2525
2626
2727
28
29
30
28
29
30
3131
3232
3333
......
4646
4747
4848
49
50
51
52
49
50
51
52
5353
5454
5555
......
7979
8080
8181
82
82
8383
8484
85
86
87
88
89
85
86
87
88
89
9090
9191
92
92
9393
9494
9595
96
9697
97
98
99
100
98
99
100
101
101102
102
103
104
105
106
103107
104
105
106
107
108
109
110
108111
109
110
111
112
113
114112
115113
116114
......
122120
123121
124122
125
126
127
123
124
125
128126
129
130
127
128
129
131130
132
133
134
135
131
132
133
134
136135
137136
138137
Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"
If the computer won't start up properly, you may be able to start it up
using safe mode. Type -x to start up in safe mode, which ignores all
cached driver files.
If the computer won't start up properly, you may be able to start it up using
safe mode. Type -x to start up in safe mode, which ignores all cached
driver files.
Special booter hotkeys:
-----------------------
Options useful in the org.chameleon.Boot.plist file:
----------------------------------------------------
Wait=Yes|No Prompt for a key press before starting the kernel.
"Quiet Boot"=Yes|No Use quiet boot mode (no messages or prompt).
Timeout=8 Number of seconds to pause at the boot: prompt.
"Instant Menu"=Yes Force displaying the partition selection menu.
Wait=Yes|No Prompt for a key press before starting the kernel.
"Quiet Boot"=Yes|No Use quiet boot mode (no messages or prompt).
Timeout=8 Number of seconds to pause at the boot: prompt.
"Instant Menu"=Yes Force displaying the partition selection menu.
"Default Partition" Sets the default boot partition,
=hd(x,y)|UUID|"Label" Specified as a disk/partition pair, an UUID, or a
KeyLayout=keymap Use to change the keyboard mapping of the bootloader
(e.g. KeyLayout=mac-fr)
GraphicsEnabler=Yes|No Automatic device-properties generation for gfx cards.
GraphicsEnabler=Yes|No Automatic device-properties generation for graphics cards.
AtiConfig=<cardcfg> Use a different card config, e.g. AtiConfig=Megalodon.
AtiPorts=<value> Specify the number of ports, e.g. AtiPorts=2.
UseAtiROM=Yes|No Use an alternate Ati ROM image
(path: /Extra/<vendorid>_<devid>_<subsysid>.rom)
UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image
(path: /Extra/<vendorid>_<devid>.rom)
VBIOS=Yes|No Inject NVIDIA VBIOS into device-properties.
UseAtiROM=Yes|No Use an alternate Ati ROM image
(default path: /Extra/<vendorid>_<devid>_<subsysid>.rom)
UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image
(default path: /Extra/<vendorid>_<devid>.rom)
VBIOS=Yes|No Inject VBIOS to device-properties.
display_0=<value> Inject alternate value of display-cfg into NVDA,Display-A@0 (HEX).
display_1=<value> Inject alternate value of display-cfg into NVDA,Display-B@1 (HEX).
EnableHDMIAudio=Yes Inject HDMI audio for NVIDIA
EnableHDMIAudio=Yes Inject HDMI audio for NVIDIA
EthernetBuiltIn=Yes|No Automatic "built-in"=yes device-properties generation
for ethernet interfaces.
ForceHPET=Yes|No Force HPET on (disabled by default).
USBBusFix=Yes Enable all USB fixes below:
EHCIacquire=Yes Enable the EHCI fix (disabled by default).
UHCIreset=Yes Enable the UHCI fix (disabled by default).
USBLegacyOff=Yes Enable the USB Legacy fix (disabled by default).
USBBusFix=Yes Enable the EHCI and UHCI fixes (disabled by default).
EHCIacquire=Yes Enable the EHCI fix (disabled by default).
UHCIreset=Yes Enable the UHCI fix (disabled by default).
USBLegacyOff=Yes Force USB Legacy off (disabled by default).
ForceHPET=Yes|No Force Enable HPET.
Wake=No Disable wake up after hibernation (enbaled by default).
ForceWake=Yes Force using the sleepimage (disabled by default).
WakeImage=<file> Use an alternate sleepimage file
(default path is /private/var/vm/sleepimage).
Wake=No Disable wake up after hibernation (default: enabled).
ForceWake=Yes Force using the sleepimage (disabled by default).
WakeImage=<file> Use an alternate sleepimage file.
(default path is /private/var/vm/sleepimage).
DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables.
DSDT=<file> Use an alternate DSDT.aml file
(default path: /DSDT.aml /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).
DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables.
DSDT=<file> Use an alternate DSDT.aml file
(default paths:
/DSDT.aml /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).
GenerateCStates=Yes Enable auto generation of processor idle sleep states
(C-States).
GeneratePStates=Yes Enable auto generation of processor power performance
EnableC3State=Yes Enable specific Processor power state, C3.
EnableC4State=Yes Enable specific Processor power state, C4.
SMBIOS=<file> Use an alternate SMBIOS.plist file
(default paths:
/Extra/SMBIOS.plist bt(0,0)/Extra/SMBIOS.plist).
SMBIOS=<file> Use an alternate SMBIOS.plist file
(default path: /SMBIOS.plist /Extra/SMBIOS.plist
bt(0,0)/Extra/SMBIOS.plist).
SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding.
If smbios.plist doesn't exist, factory values are kept.
SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding
if smbios.plist doesn't exist, factory
values are kept.
"Scan Single Drive" Only scan the drive from which the booter got loaded.
=Yes|No Fixes rescan-problems (DVD reader in AHCI mode).
Rescan=Yes Enable CD-ROM rescan mode.
"Rescan Prompt"=Yes Prompt for enabling CD-ROM rescan mode.
"Scan Single Drive" Scan the drive only where the booter got loaded from.
=Yes|No Fix rescan issues when using a DVD reader in AHCI mode.
Rescan=Yes Enable CD-ROM rescan mode.
"Rescan Prompt"=Yes Prompts for enable CD-ROM rescan mode.
SystemId=<UUID> Set the system id manually to UUID.
SMUUID in smbios config (reserved field) isn't used then.
SystemType=<n> Set the system type to n, where n is between 0..6

Archive Download the corresponding diff file

Revision: 1976