[okl4-developer] Program link addresses
Geoffrey Lee
glee at ok-labs.com
Fri Jul 11 15:35:57 EST 2008
On Fri, Jul 11, 2008 at 12:39:20AM +1000, Joshua Root wrote:
> I'm building a simple boot image with the root server and one other
> program. The program's SConscript looks like this:
>
> Import("*")
> weaver = env.WeaverIguanaProgram()
> sources=Split("tty_test.c ttyout.c")
> obj = env.KengeProgram("tty_test", source=sources, weaver=weaver,
> LIBS=["c", "l4"])
> Return("obj")
Josh -
>
> When I use bootinfo to start the thread, it gives me an ip of 0x200000.
> And indeed, if I disassemble image.elf, that is where the program is
> linked. But in image.boot, it is located at 0x172000, and nothing is at
> 0x200000, so of course I get an exception when starting the thread with
> the given ip.
>
> Am I doing something wrong? How can I get the addresses to match up?
While I cannot solve your immediate problem, please have a look
at iguana/server/SConsript.
The iguana/server program gets started as root server. For this,
you should use the KengeProgram and WeaverRootProgram rather than
the Iguana variants.
>
> - Josh
-gl
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>
--
More information about the Developer
mailing list