Chameleon

Chameleon Commit Details

Date:2011-05-16 16:14:11 (12 years 11 months ago)
Author:Azimutz
Commit:821
Parents: 820
Message:- "version" file update. - added GrapicsEnablerLegacy and GraphicsEnabler patches. Read modules/TODO for more info.
Changes:
D/branches/azimutz/Cleancut/i386/modules/TODO_GraphicsEnabler
A/branches/azimutz/Cleancut/i386/modules/TODO
M/branches/azimutz/Cleancut/i386/boot2/Makefile
M/branches/azimutz/Cleancut/version
M/branches/azimutz/Cleancut/i386/modules/GraphicsEnabler/ati.c

File differences

branches/azimutz/Cleancut/version
1
1
2.0-RC5
2.0-RC5 Cleancut
branches/azimutz/Cleancut/i386/boot2/Makefile
132132
133133
134134
135
135
136136
137137
138138
......
143143
144144
145145
146
147146
147
148148
149149
150150
exit 1;\
fi)
embed_symbols: machOconv
@echo ================= Embedding Symbols.dylib =================
@echo "\t[MACHOCONV] boot"
@echo "\t[MACHOCONV] boot"
@$(SYMROOT)/machOconv $(SYMROOT)/boot.sys $(SYMROOT)/boot
prompt.o: vers.h
vers.h:
@echo "#define I386BOOT_VERSION \"5.0.132\"" > $(SYMROOT)/vers.h
branches/azimutz/Cleancut/i386/modules/TODO_GraphicsEnabler
1
2
3
4
5
6
7
8
9
10
- get testers for GraphicsEnabler module (new ATI code); i have no way to test it.
- review & clean up
- break these modules into e.g. ATIEnabler/ATIEnablerLegacy, NVIDIAEnabler, GMAEnabler ??
- remove this file when done :)
Note: No problems compiling with either XCode 3.2.6 or 4.0.2.
GraphicsEnablerLegacy has support for some GMA graphics, basically the same
that can be found on Meklort's branch.
Thanks to everyone that worked on these patches; i'm mostly just gathering their work.
branches/azimutz/Cleancut/i386/modules/TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
GraphicsEnabler & GraphicsEnablerLegacy modules:
GraphicsEnablerLegacy module is based on the old code, previous to r786. This module was created
by Meklort; i just added the new ATI code in.
Note: GraphicsEnablerLegacy has support for some GMA graphics, basically the same
that can be found on Meklort's branch.
- both modules work properly when compiled with XCode 3.2.6.
- the use of XCode 4 causes problems atm, not only to the module system.
See: http://www.insanelymac.com/forum/index.php?s=&showtopic=231075&view=findpost&p=1683785
as an example.
- i have no plans to keep working on these modules; the old ATI code was never meant to support
these legacy cards like my rv516 gpu, according to Netkas. So, i will try to resort to DSDT injection.
If i fail on doing that, then i may get back to this...? time and money to buy a new graphics
card, will tell :)
Thanks to everyone that worked on these patches; i'm mostly just gathering their work.
--------------------//--------------------
Azimutz
branches/azimutz/Cleancut/i386/modules/GraphicsEnabler/ati.c
12211221
12221222
12231223
1224
1224
1225
12251226
12261227
12271228
/* ------------------------------------------------- */
/* Find a better way to do this (in device_inject.c) */
stringdata = malloc(string->length);
//Azi: tried to fix a malloc error in vain; this is caused by XCode 4 compilation!
stringdata = malloc(sizeof(uint8_t) * string->length);
memcpy(stringdata, (uint8_t*)devprop_generate_string(string), string->length);
stringlength = string->length;
/* ------------------------------------------------- */

Archive Download the corresponding diff file

Revision: 821