Here's a link to the open darwin how to page... im sure it might come in handy for someone....
http://www.opendarwin.org/en/articles/
everything from kernel hacking to resolution changing....
edit: a lot of the links are broken... the most relevant section would probably be kernel hacking
official apple darwin documentation (better resource):
http://developer.apple.com/documentation/Darwin/index.html