Chameleon

Chameleon Commit Details

Date:2010-01-24 00:38:39 (9 years 5 months ago)
Author:Rekursor
Commit:31
Parents: 30
Message:Created a TODO list to complement my recent CHANGES addon to the project. The current TODO list incorporates the features discussed with Zef, JrCs and me.
Changes:
A/trunk/TODO

File differences

trunk/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
45
46
47
48
TODO List for Chameleon Boot Loader
====================================
- Add a new module capable of writing proprietary Chameleon data to ioreg:
Using the DT__xxx() API, we will creat e a set of functions to write
to log info, chameleon boot info to be retrieved by helper applications...
the only public function for log info purpose of this module would be:
logMessageToIOREG(...); // var args printf style format
flushLogToIOREG(); // store a unique log info property to the ioreg
The preferred internal behavior of the log info ioreg buffer
would be to store the messages in a consolidated buffer then only write once,
this buffer (i.e just before call the kernel) with flushLogToIOREG();
The other public function for writing chameleon boot info data would be:
verbose() should incorporate a call to logMessageToIOREG()
to permit helper applications to extract
this log info (i.e: the chameleon system pref pane)
- Add API for displaying and logging messages like:
void verbose(...)
{
...
logMessageToIOREG("%s: %sn", title, s);
}
void display_and_log( const char* title, const char* msg)
{
printf("%s: %sn", title, s);
logMessageToIOREG(title,s);
}
void deprecated(const char * s)
{
display_and_log("WARNING: Deprecated option",s);
sleep(1);
}
void error_message(const char * s)
{
display_and_log("ERROR",s);
getc();
}
- Case unsensitive parsing for the bootConfig options:
should help the common/novice user to setup more easily.

Archive Download the corresponding diff file

Revision: 31