Chameleon

Chameleon Svn Source Tree

Root/branches/azimutz/Chazi/doc-azi/Modules.txt

1The possible info at the moment:
2
3Installation:
4 - get the source, compile; find modules at /sym/i386, with .dylib file extension.
5
6 - copy the .dylib files to a Modules folder created on your favorite Extra folder.
7
8 - update boot file or reinstall the booter completely in case it's too old;
9"old" in RC5 world means before rev 168 (atm).
10
11How to use?
12 - nothing to do! Modules are loaded at startup, before the Gui loads, providing you place
13them in the correct place (check Issues below).
14
15 - Symbols.dylib is always and the first module loaded. The booter will still perform as
16usual if this module fails to load.
17
18What are modules?
19 - good question! Well, can't add much on the "geek" side... need to study the stuff so
20i don't start dumping bs. The easy answer is they are like plugins, adding/replacing
21booter functionality. For instance: the Kernel Patcher (Kptchr) is around for some time,
22integrated on boot file like any other Chameleon function; with Modules support Kptchr
23can now live as a module, freeing the space it occupied on boot file
24(one of module's advantages).
25
26Kernel Patcher module:
27 - features cpuid_set, commpage_stuff and lapic_init patches (atm).
28
29 -as it is, Kptchr allows my Pentium D 925 to boot vanilla kernel, with the help of
30-legacy flag; to enter x86_64 world i still need to patch the kernel, as the 925 has no
31Supplemental SSE3 instructions. I assume that, the great majority of the legacy/unsupported
32processors with at least SSE3 instructions, will benefit of the same treatment!
33For now let's just say that the only patch needed by the 925 on Legacy Mode(*) is
34cpuid_set!
35
36(*) For those who "missed" the lesson, Legacy Mode is the mode, 32 bit only cpu's run on OS X.
37
38Issues:
39 - modules may fail to load, if you have the booter on a separate device/partition and try
40to load modules from selected volume. Confirmed on MBR/boot0hfs install only.
41
42 - the Kernel Patcher can stop working due to changes on the kernel code, though that can be
43"previewed" to some extent. Just so you know what to expect.
44
45 - this is work in progress; i will add updates as Meklort commits and only if they are in
46functional state.
47
48
49Smith@@'s news :D
50
51 « Sent to: Azimutz on: Fri 03/09/2010 at 05:55:08 »
52
53 "Hi azi, i've try last chazi with modules, it works like a charm ;)"
54
55-------/-/-------
56
57 Grazie Amico - Azi
58
59---------------//---------------//---------------
60
61
62
63Azimutz
64
65
66

Archive Download this file

Revision: 484