Chameleon

Chameleon Commit Details

Date:2011-07-12 23:41:51 (7 years 11 months ago)
Author:Azimutz
Commit:1155
Parents: 1154
Message:Sync these two with trunk (r1154).
Changes:
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/GraphicsEnabler/IntelGraphicsEnabler/gma.c
M/branches/azimutz/trunkAutoResolution/i386/modules/uClibcxx/Cconfig
M/branches/azimutz/trunkGraphicsEnablerModules/CHANGES
M/branches/azimutz/trunkAutoResolution/i386/libsaio/console.c
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot1/boot1h.s
M/branches/azimutz/trunkAutoResolution
M/branches/azimutz/trunkAutoResolution/i386/boot2/boot.c
M/branches/azimutz/trunkAutoResolution/i386/libsaio/nvidia.c
M/branches/azimutz/trunkAutoResolution/i386/boot2/boot.h
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot0/Cconfig
M/branches/azimutz/trunkAutoResolution/i386/libsaio/sys.c
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot1/Cconfig
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/Cconfig
M/branches/azimutz/trunkAutoResolution/i386/boot2/drivers.c
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/uClibcxx/Cconfig
M/branches/azimutz/trunkAutoResolution/i386/modules/HelloWorld/Cconfig
M/branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/console.c
M/branches/azimutz/trunkGraphicsEnablerModules
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/boot.c
M/branches/azimutz/trunkAutoResolution/i386/libsaio/smbios.c
M/branches/azimutz/trunkAutoResolution/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist
M/branches/azimutz/trunkAutoResolution/i386/modules/klibc/Cconfig
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/boot.h
M/branches/azimutz/trunkAutoResolution/i386/libsaio/gma.c
M/branches/azimutz/trunkAutoResolution/i386/boot0/boot0.s
M/branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/sys.c
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/Resolution/Cconfig
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/drivers.c
M/branches/azimutz/trunkAutoResolution/CHANGES
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/HelloWorld/Cconfig
M/branches/azimutz/trunkAutoResolution/i386/boot1/boot1h.s
M/branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/smbios.c
M/branches/azimutz/trunkGraphicsEnablerModules/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/klibc/Cconfig
M/branches/azimutz/trunkAutoResolution/i386/boot0/Cconfig
M/branches/azimutz/trunkAutoResolution/i386/boot1/Cconfig
M/branches/azimutz/trunkGraphicsEnablerModules/i386/boot0/boot0.s
M/branches/azimutz/trunkAutoResolution/i386/boot2/Cconfig

File differences

branches/azimutz/trunkAutoResolution/i386/libsaio/console.c
263263
264264
265265
266
266
267267
void pause()
{
printf("Press a key to continue...\n");
getchar(); // replace getchar() by pause() ?? were useful...?
getchar(); // replace getchar() by pause() were useful.
}
branches/azimutz/trunkAutoResolution/i386/libsaio/gma.c
11
22
3
3
44
55
66
......
5656
5757
5858
59
6059
6160
61
6262
6363
6464
......
155155
156156
157157
158
158
159159
160160
161161
/*
Original patch by Nawcom
http://forum.voodooprojects.org/index.php/topic,1029.msg4427.html#msg4427
http://forum.voodooprojects.org/index.php/topic,1029.0.html
*/
#include "libsa.h"
{ 0x808627A6, "Mobile GMA950"},
{ 0x8086A011, "Mobile GMA3150"},
{ 0x8086A012, "Mobile GMA3150"},
//Azi: i can get QE/CI but no framebuffer... more testing needed.
{ 0x80862772, "Desktop GMA950"},
{ 0x80862776, "Desktop GMA950"},
//{ 0x8086A001, "Desktop GMA3150" },
{ 0x8086A001, "Mobile GMA3150"},
{ 0x8086A002, "Desktop GMA3150" },
{ 0x80862A02, "GMAX3100"},
devprop_add_value(device, "AAPL01,Stretch",GMAX3100_vals[21], 4);
devprop_add_value(device, "class-code",ClassFix, 4);
}
stringdata = malloc(sizeof(uint8_t) * string->length);
if (!stringdata)
{
branches/azimutz/trunkAutoResolution/i386/libsaio/nvidia.c
13191319
13201320
13211321
1322
1322
13231323
13241324
13251325
......
13371337
13381338
13391339
1340
1340
13411341
13421342
13431343
}
}
if (getValueForKey(kdcfg0, &value, &len, &bootInfo->chameleonConfig) && len == DCFG0_LEN * 2){
if (getValueForKey(kDcfg0, &value, &len, &bootInfo->chameleonConfig) && len == DCFG0_LEN * 2){
uint8_t new_dcfg0[DCFG0_LEN];
}
if (getValueForKey(kdcfg1, &value, &len, &bootInfo->chameleonConfig) && len == DCFG1_LEN * 2){
if (getValueForKey(kDcfg1, &value, &len, &bootInfo->chameleonConfig) && len == DCFG1_LEN * 2){
uint8_t new_dcfg1[DCFG1_LEN];
branches/azimutz/trunkAutoResolution/i386/libsaio/sys.c
481481
482482
483483
484
485
486
487
488
489
490
484
485
486
487
488
489
490
491491
492492
493493
......
520520
521521
522522
523
523
524524
525525
526526
int open_bvdev(const char *bvd, const char *path, int flags)
{
const struct devsw*dp;
const char*cp;
BVRefbvr;
inti;
intlen;
intunit;
intpartition;
const struct devsw*dp;
const char*cp;
BVRefbvr;
inti;
intlen;
intunit;
intpartition;
if ((i = open(path, flags)) >= 0) {
return i;
bvr = newBootVolumeRef(dp->biosdev + unit, partition);
return open_bvr(bvr, path, flags);
}
}
}
return -1;
}
branches/azimutz/trunkAutoResolution/i386/libsaio/smbios.c
7474
7575
7676
77
77
7878
7979
8080
// defaults for a Mac mini
#define kDefaultMacminiFamily"Macmini"
#define kDefaultMacmini"Macmini2,1"
#define kDefaultMacmini"Macmini1,1"
#define kDefaultMacminiBIOSVersion" MM21.88Z.009A.B00.0903051113"
// defaults for a MacBook
branches/azimutz/trunkAutoResolution/i386/boot0/boot0.s
799799
800800
801801
802
803
804
805
806
802807
803808
804809
; According to EFI specification, maximum boot code size is 440 bytes
;
;
; XXX - compilation errors with debug enabled (see comment above about nasm)
; Azi: boot0.s:808: error: TIMES value -111 is negative
; boot0.s:811: error: TIMES value -41 is negative
;
pad_boot:
times 440-($-$$) db 0
branches/azimutz/trunkAutoResolution/i386/boot0/Cconfig
99
1010
1111
12
13
14
12
13
1514
1615
1716
1817
1918
20
2119
22
2320
2421
2522
2623
2724
28
25
2926
3027
bool "boot0 debug support"
default n
help
Say Y here if you want to compile in boot0
debug messages. On an error, boot0 will print
one of thefollowing:
Say Y here if you want to enable boot0 debug messages.
On an error, boot0 will print one of the following:
>start_reloc was called
*Boot partition found
JJumping to partition booter
<read_lba
RINT13/F42 error
config BOOT0_VERBOSE
bool "boot0 verbose support"
default y
help
Say Y here if you want to enable boot0 verbose messages.
boot0 will pronto out status updates as it executes to
boot0 will print out status updates as it executes to
notify the user of progress in the initial boot sequence.
When in doubt, say "Y".
branches/azimutz/trunkAutoResolution/i386/boot1/Cconfig
11
2
2
33
44
5
5
66
77
8
9
8
9
1010
1111
1212
1313
1414
1515
16
16
1717
1818
1919
2020
2121
2222
23
23
2424
2525
26
26
2727
2828
29
29
3030
3131
32
33
32
33
3434
3535
3636
3737
3838
3939
40
40
4141
4242
4343
4444
4545
4646
47
47
#
#boot1
#boot1h
#
config BOOT1_HFS
bool "boot1 second stage booter"
bool "boot1h second stage booter"
default y
help
Say Y here if you want to compile the default boot1
bootloader stage.
Say Y here if you want to compile the default second
stage bootloader.
config BOOT1_HFS_DEBUG
bool "debug support"
default n
depends on BOOT1_HFS
help
Say Y here if you want to compile in debug support.
Say Y here if you want to enable boot1h debug messages.
config BOOT1_HFS_VERBOSE
bool "verbose support"
default y
depends on BOOT1_HFS
help
Say Y here if you want to compile in verbose support.
Say Y here if you want to enable boot1h verbose messages.
#
#boot1h
#boot1he
#
config BOOT1_HFS_ACTIVE
bool "boot1h second stage boater"
bool "boot1he second stage booter"
default y
help
Say Y here if you want to compile the default boot1
bootloader stage.
Say Y here if you want to compile the boot1he second
stage bootloader.
config BOOT1_HFS_ACTIVE_DEBUG
bool "debug support"
default n
depends on BOOT1_HFS_ACTIVE
help
Say Y here if you want to compile in debug support.
Say Y here if you want to enable boot1he debug messages.
config BOOT1_HFS_ACTIVE_VERBOSE
bool "verbose support"
default y
depends on BOOT1_HFS_ACTIVE
help
Say Y here if you want to compile in debug support.
Say Y here if you want to enable boot1he verbose messages.
branches/azimutz/trunkAutoResolution/i386/boot1/boot1h.s
986986
987987
988988
989
990
991
992
989993
990994
991995
......
14391443
14401444
14411445
1446
1447
1448
1449
1450
14421451
14431452
14441453
; If the booter code becomes too large, then nasm will complain
; that the 'times' argument is negative.
;
; XXX - compilation errors with debug enabled (see comment above about nasm)
; Azi: boot1h.s:994: error: TIMES value -67 is negative
;
pad_table_and_sig:
times510-($-$$) db 0
dwkBootSignature
; Pad the rest of the 512 byte sized sector with zeroes. The last
; two bytes is the mandatory boot sector signature.
;
;
; XXX - compilation errors with debug enabled
; Azi: boot1h.s:1452: error: TIMES value -64 is negative
;
pad_sector_1:
times1022-($-$$) db 0
dwkBootSignature
branches/azimutz/trunkAutoResolution/i386/boot2/drivers.c
837837
838838
839839
840
840
841841
842842
843843
ret = ThinFatFile(&binary, &len);
}
// Notify modules that the kernel has been decompressed and thinned, is about to be decoded
// Notify modules that the kernel has been decompressed, thinned and is about to be decoded
execute_hook("DecodeKernel", (void*)binary, NULL, NULL, NULL);
branches/azimutz/trunkAutoResolution/i386/boot2/boot.c
182182
183183
184184
185
186
185
186
187187
188188
189189
bool dummyVal;
if (getBoolForKey(kWaitForKeypressKey, &dummyVal, &bootInfo->chameleonConfig) && dummyVal) {
printf("Press any key to continue...");
getchar();
printf("(Wait) ");
pause();
}
usb_loop();
branches/azimutz/trunkAutoResolution/i386/boot2/boot.h
111111
112112
113113
114
115
114
115
116116
117117
118118
#define kUseNvidiaROM"UseNvidiaROM"/* nvidia.c */
#define kVBIOS"VBIOS"/* nvidia.c */
#define kdcfg0"display_0"/* nvidia.c */
#define kdcfg1"display_1"/* nvidia.c */
#define kDcfg0"display_0"/* nvidia.c */
#define kDcfg1"display_1"/* nvidia.c */
#define kEthernetBuiltIn"EthernetBuiltIn"/* pci_setup.c */
#define kGraphicsEnabler"GraphicsEnabler"/* pci_setup.c */
branches/azimutz/trunkAutoResolution/i386/boot2/Cconfig
22
33
44
5
5
66
77
88
......
1818
1919
2020
21
21
2222
2323
2424
bool "Module System"
default y
---help---
Say Y here if you want to enable to use of modules.
Say Y here if you want to enable the use of modules.
config MODULE_DEBUG
bool "debug support"
bool "Embed Theme"
default n
---help---
Say Y here if you want compile in a default theme.
Say Y here if you want compile in the default theme (Embed).
config EMBEDED_THEME
string "Theme name"
branches/azimutz/trunkAutoResolution/i386/modules/uClibcxx/Cconfig
77
88
99
10
10
1111
default m
depends on KLIBC_MODULE
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkAutoResolution/i386/modules/klibc/Cconfig
66
77
88
9
9
1010
tristate "klibc Module"
default m
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkAutoResolution/i386/modules/HelloWorld/Cconfig
77
88
99
10
10
1111
default n
depends on UCLIBCXX_MODULE
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkAutoResolution/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist
3535
3636
3737
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
3855
3956
4057
<key>Vendor Name</key>
<string>Unknown </string>
</dict>
<key>MCP79BAHCI</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleAHCIPort</string>
<key>Chipset Name</key>
<string>MCP79 AHCI</string>
<key>IOClass</key>
<string>AppleMCP79AHCI</string>
<key>IOPCIPrimaryMatch</key>
<string>0x0ab810de</string>
<key>IOProbeScore</key>
<integer>2000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Vendor Name</key>
<string>NVidia</string>
</dict>
<key>JMicronAHCI</key>
<dict>
<key>CFBundleIdentifier</key>
branches/azimutz/trunkAutoResolution/CHANGES
1
2
13
24
35
......
3335
3436
3537
36
38
3739
3840
3941
4042
41
43
4244
4345
4446
- Added NVidia ION AHCI controllers dev id to AHCIPortInjector kext.
Forgot to mention source on the commit: http://forum.voodooprojects.org/index.php/topic,1170.0.html
- Renamed com.apple.Boot.plist to org.chameleon.Boot.plist.
- Added "ShowInfo" key (enabled by default for now), which enables/disables the display of
partition and resolution related info, on the Gui.
- 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 UID in autodection mode
- pciroot would not always return correct UID in auto detection 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.
branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/console.c
263263
264264
265265
266
266
267267
void pause()
{
printf("Press a key to continue...\n");
getchar(); // replace getchar() by pause() ?? were useful...?
getchar(); // replace getchar() by pause() were useful.
}
branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/sys.c
481481
482482
483483
484
485
486
487
488
489
490
484
485
486
487
488
489
490
491491
492492
493493
......
520520
521521
522522
523
523
524524
525525
526526
int open_bvdev(const char *bvd, const char *path, int flags)
{
const struct devsw*dp;
const char*cp;
BVRefbvr;
inti;
intlen;
intunit;
intpartition;
const struct devsw*dp;
const char*cp;
BVRefbvr;
inti;
intlen;
intunit;
intpartition;
if ((i = open(path, flags)) >= 0) {
return i;
bvr = newBootVolumeRef(dp->biosdev + unit, partition);
return open_bvr(bvr, path, flags);
}
}
}
return -1;
}
branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/smbios.c
7474
7575
7676
77
77
7878
7979
8080
// defaults for a Mac mini
#define kDefaultMacminiFamily"Macmini"
#define kDefaultMacmini"Macmini2,1"
#define kDefaultMacmini"Macmini1,1"
#define kDefaultMacminiBIOSVersion" MM21.88Z.009A.B00.0903051113"
// defaults for a MacBook
branches/azimutz/trunkGraphicsEnablerModules/i386/boot0/boot0.s
799799
800800
801801
802
803
804
805
806
802807
803808
804809
; According to EFI specification, maximum boot code size is 440 bytes
;
;
; XXX - compilation errors with debug enabled (see comment above about nasm)
; Azi: boot0.s:808: error: TIMES value -111 is negative
; boot0.s:811: error: TIMES value -41 is negative
;
pad_boot:
times 440-($-$$) db 0
branches/azimutz/trunkGraphicsEnablerModules/i386/boot0/Cconfig
99
1010
1111
12
13
14
12
13
1514
1615
1716
1817
1918
20
2119
22
2320
2421
2522
2623
2724
28
25
2926
3027
bool "boot0 debug support"
default n
help
Say Y here if you want to compile in boot0
debug messages. On an error, boot0 will print
one of thefollowing:
Say Y here if you want to enable boot0 debug messages.
On an error, boot0 will print one of the following:
>start_reloc was called
*Boot partition found
JJumping to partition booter
<read_lba
RINT13/F42 error
config BOOT0_VERBOSE
bool "boot0 verbose support"
default y
help
Say Y here if you want to enable boot0 verbose messages.
boot0 will pronto out status updates as it executes to
boot0 will print out status updates as it executes to
notify the user of progress in the initial boot sequence.
When in doubt, say "Y".
branches/azimutz/trunkGraphicsEnablerModules/i386/boot1/Cconfig
11
2
2
33
44
5
5
66
77
8
9
8
9
1010
1111
1212
1313
1414
1515
16
16
1717
1818
1919
2020
2121
2222
23
23
2424
2525
26
26
2727
2828
29
29
3030
3131
32
33
32
33
3434
3535
3636
3737
3838
3939
40
40
4141
4242
4343
4444
4545
4646
47
47
#
#boot1
#boot1h
#
config BOOT1_HFS
bool "boot1 second stage booter"
bool "boot1h second stage booter"
default y
help
Say Y here if you want to compile the default boot1
bootloader stage.
Say Y here if you want to compile the default second
stage bootloader.
config BOOT1_HFS_DEBUG
bool "debug support"
default n
depends on BOOT1_HFS
help
Say Y here if you want to compile in debug support.
Say Y here if you want to enable boot1h debug messages.
config BOOT1_HFS_VERBOSE
bool "verbose support"
default y
depends on BOOT1_HFS
help
Say Y here if you want to compile in verbose support.
Say Y here if you want to enable boot1h verbose messages.
#
#boot1h
#boot1he
#
config BOOT1_HFS_ACTIVE
bool "boot1h second stage boater"
bool "boot1he second stage booter"
default y
help
Say Y here if you want to compile the default boot1
bootloader stage.
Say Y here if you want to compile the boot1he second
stage bootloader.
config BOOT1_HFS_ACTIVE_DEBUG
bool "debug support"
default n
depends on BOOT1_HFS_ACTIVE
help
Say Y here if you want to compile in debug support.
Say Y here if you want to enable boot1he debug messages.
config BOOT1_HFS_ACTIVE_VERBOSE
bool "verbose support"
default y
depends on BOOT1_HFS_ACTIVE
help
Say Y here if you want to compile in debug support.
Say Y here if you want to enable boot1he verbose messages.
branches/azimutz/trunkGraphicsEnablerModules/i386/boot1/boot1h.s
986986
987987
988988
989
990
991
992
989993
990994
991995
......
14391443
14401444
14411445
1446
1447
1448
1449
1450
14421451
14431452
14441453
; If the booter code becomes too large, then nasm will complain
; that the 'times' argument is negative.
;
; XXX - compilation errors with debug enabled (see comment above about nasm)
; Azi: boot1h.s:994: error: TIMES value -67 is negative
;
pad_table_and_sig:
times510-($-$$) db 0
dwkBootSignature
; Pad the rest of the 512 byte sized sector with zeroes. The last
; two bytes is the mandatory boot sector signature.
;
;
; XXX - compilation errors with debug enabled
; Azi: boot1h.s:1452: error: TIMES value -64 is negative
;
pad_sector_1:
times1022-($-$$) db 0
dwkBootSignature
branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/drivers.c
829829
830830
831831
832
832
833833
834834
835835
......
837837
838838
839839
840
840
841841
842842
843843
return -1;
}
}
ret = ThinFatFile(&binary, &len);
if (ret == 0 && len == 0 && archCpuType==CPU_TYPE_X86_64)
{
ret = ThinFatFile(&binary, &len);
}
// Notify modules that the kernel has been decompressed and thinned, is about to be decoded
// Notify modules that the kernel has been decompressed, thinned and is about to be decoded
execute_hook("DecodeKernel", (void*)binary, NULL, NULL, NULL);
branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/boot.c
180180
181181
182182
183
184
183
184
185185
186186
187187
bool dummyVal;
if (getBoolForKey(kWaitForKeypressKey, &dummyVal, &bootInfo->chameleonConfig) && dummyVal) {
printf("Press any key to continue...");
getchar();
printf("(Wait) ");
pause();
}
usb_loop();
branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/boot.h
111111
112112
113113
114
115
114
115
116116
117117
118118
//#define kUseNvidiaROM"UseNvidiaROM"/* nvidia.c */
//#define kVBIOS"VBIOS"/* nvidia.c */
//#define kdcfg0"display_0"/* nvidia.c */
//#define kdcfg1"display_1"/* nvidia.c */
//#define kDcfg0"display_0"/* nvidia.c */
//#define kDcfg1"display_1"/* nvidia.c */
#define kEthernetBuiltIn"EthernetBuiltIn"/* pci_setup.c */
#define kGraphicsEnabler"GraphicsEnabler"/* pci_setup.c */
branches/azimutz/trunkGraphicsEnablerModules/i386/boot2/Cconfig
22
33
44
5
5
66
77
88
......
1818
1919
2020
21
21
2222
2323
2424
bool "Module System"
default y
---help---
Say Y here if you want to enable to use of modules.
Say Y here if you want to enable the use of modules.
config MODULE_DEBUG
bool "debug support"
bool "Embed Theme"
default n
---help---
Say Y here if you want compile in a default theme.
Say Y here if you want compile in the default theme (Embed).
config EMBEDED_THEME
string "Theme name"
branches/azimutz/trunkGraphicsEnablerModules/i386/modules/uClibcxx/Cconfig
77
88
99
10
10
1111
default m
depends on KLIBC_MODULE
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkGraphicsEnablerModules/i386/modules/Resolution/Cconfig
66
77
88
9
9
1010
tristate "Resolution Module"
default m
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkGraphicsEnablerModules/i386/modules/klibc/Cconfig
66
77
88
9
9
1010
tristate "klibc Module"
default m
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkGraphicsEnablerModules/i386/modules/GraphicsEnabler/IntelGraphicsEnabler/gma.c
11
22
3
3
44
55
66
......
5656
5757
5858
59
6059
6160
61
6262
6363
6464
......
155155
156156
157157
158
158
159159
160160
161161
/*
Original patch by Nawcom
http://forum.voodooprojects.org/index.php/topic,1029.msg4427.html#msg4427
http://forum.voodooprojects.org/index.php/topic,1029.0.html
*/
#include "libsa.h"
{ 0x808627A6, "Mobile GMA950"},
{ 0x8086A011, "Mobile GMA3150"},
{ 0x8086A012, "Mobile GMA3150"},
//Azi: i can get QE/CI but no framebuffer... more testing needed.
{ 0x80862772, "Desktop GMA950"},
{ 0x80862776, "Desktop GMA950"},
//{ 0x8086A001, "Desktop GMA3150" },
{ 0x8086A001, "Mobile GMA3150"},
{ 0x8086A002, "Desktop GMA3150" },
{ 0x80862A02, "GMAX3100"},
devprop_add_value(device, "AAPL01,Stretch",GMAX3100_vals[21], 4);
devprop_add_value(device, "class-code",ClassFix, 4);
}
stringdata = malloc(sizeof(uint8_t) * string->length);
if (!stringdata)
{
branches/azimutz/trunkGraphicsEnablerModules/i386/modules/HelloWorld/Cconfig
77
88
99
10
10
1111
default n
depends on UCLIBCXX_MODULE
---help---
Say Y here if you want to enable to use of this module.
Say Y here if you want to enable the use of this module.
branches/azimutz/trunkGraphicsEnablerModules/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist
3535
3636
3737
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
3855
3956
4057
<key>Vendor Name</key>
<string>Unknown </string>
</dict>
<key>MCP79BAHCI</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleAHCIPort</string>
<key>Chipset Name</key>
<string>MCP79 AHCI</string>
<key>IOClass</key>
<string>AppleMCP79AHCI</string>
<key>IOPCIPrimaryMatch</key>
<string>0x0ab810de</string>
<key>IOProbeScore</key>
<integer>2000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Vendor Name</key>
<string>NVidia</string>
</dict>
<key>JMicronAHCI</key>
<dict>
<key>CFBundleIdentifier</key>
branches/azimutz/trunkGraphicsEnablerModules/CHANGES
1
2
13
24
35
......
3335
3436
3537
36
38
3739
3840
3941
4042
41
43
4244
4345
4446
- Added NVidia ION AHCI controllers dev id to AHCIPortInjector kext.
Forgot to mention source on the commit: http://forum.voodooprojects.org/index.php/topic,1170.0.html
- Renamed com.apple.Boot.plist to org.chameleon.Boot.plist.
- Added "ShowInfo" key (enabled by default for now), which enables/disables the display of
partition and resolution related info, on the Gui.
- 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 UID in autodection mode
- pciroot would not always return correct UID in auto detection 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.

Archive Download the corresponding diff file

Revision: 1155