[okl4-developer] idle magic
Malcolm Purvis
malcolmp at ok-labs.com
Thu May 24 18:16:25 EST 2007
>>>>> "Jorge" == Jorge Torres <jorge.torres.maldonado at gmail.com> writes:
Jorge> I cant find where Scons tells kip->root_server.ip [...]
The address is written to the kip by elfweaver, based on the
iguana_server element written by scons into build/weaver.xml and the
corresponding iguana_server ELF file. Have a look at
add_rootserver_to_kcp() and update_rootserver() in
tools/pyelf/weaver/l4_xml.py if you're interested.
The implementation within elfweaver is a little complex, but the idea
is that we're trying to make it straightforward to specify things in
build/weaver.xml and then everything else Should Just Work.
Jorge> one question: are thread's ip and sp relative positions?
They're absolute addresses.
Malcolm
--
Malcolm Purvis <malcolmp at ok-labs.com>
More information about the Developer
mailing list