task creation in l4ka
Benno
benjl at cse.unsw.edu.au
Thu Jan 29 21:30:39 CET 2004
On Thu Jan 29, 2004 at 18:17:20 +0100, Jan Doerrenbaecher wrote:
>Hi List!
>I have a some trouble with the task creation in l4ka. What I want/should do,
>is creating a task within the root task without using the rmgr.
>That means, I have to copy the text area of the new task in some memory region
>and I also have to allocate some memory for the stack. After this, I want to
>create the new task with the `l4_new_task` call. The problem now is, that I
>only have pointers dependent on the local address space of root task which I
>can give as input. Since the newly created task has its own address space
>these pointers are not useful. Anyhow, if I use them, the new task is created
>and running but while executing its code a page fault occurs, founded in the
>fact, that the new task is trying to get a page allocated by the root task.
>
>Am I barking up the wrong tree? Are there any simple solutions for that?
If you have a look at some of the code in Kenge
(http://www.l4hq.org/projects/env/kenge), you should see some example code
on how to do this kind of thing. If the code there isn't clear please
let me know and I can help you.
Benno
More information about the l4-hackers
mailing list