Chameleon

Chameleon Svn Source Tree

Root/trunk/TODO

1TODO List for Chameleon Boot Loader
2====================================
3
4- Add a new module capable of writing proprietary Chameleon data to ioreg:
5 Using the DT__xxx() API, we will creat e a set of functions to write
6 to log info, chameleon boot info to be retrieved by helper applications...
7 the only public function for log info purpose of this module would be:
8 logMessageToIOREG(...); // var args printf style format
9 flushLogToIOREG(); // store a unique log info property to the ioreg
10
11 The preferred internal behavior of the log info ioreg buffer
12 would be to store the messages in a consolidated buffer then only write once,
13 this buffer (i.e just before call the kernel) with flushLogToIOREG();
14 The other public function for writing chameleon boot info data would be:
15
16 verbose() should incorporate a call to logMessageToIOREG()
17 to permit helper applications to extract
18 this log info (i.e: the chameleon system pref pane)
19
20- Add API for displaying and logging messages like:
21
22 void verbose(...)
23 {
24 ...
25 logMessageToIOREG("%s: %sn", title, s);
26
27 }
28
29 void display_and_log( const char* title, const char* msg)
30 {
31 printf("%s: %sn", title, s);
32 logMessageToIOREG(title,s);
33 }
34
35 void deprecated(const char * s)
36 {
37 display_and_log("WARNING: Deprecated option",s);
38 sleep(1);
39 }
40
41 void error_message(const char * s)
42 {
43 display_and_log("ERROR",s);
44 getc();
45 }
46
47 - Case unsensitive parsing for the bootConfig options:
48 should help the common/novice user to setup more easily.
49

Archive Download this file

Revision: 31