hello and question from a l4 beginner

Espen Skoglund esk at ira.uka.de
Thu Jan 26 16:18:07 CET 2006

[Xavier Grave]
> Thanks for your answer,
>> I assume you're running your executable as the root task.

> indeed.

>> When the root task (or any task for that matter) starts, it doesn't
>> have anything mapped into its address space.  Upon trying to execute
>> the first instruction it will therefore raise a page faults.  This is
>> probably the page fault you're observing in sigma0.

> Can I avoid this ? I have to ask to map it to sigma0 ?

You can't map anything *to* sigma0.  Sigma0 automagically owns all
memory.  But yes, you have to map memory from sigma0 to the root task.

Why would you want to avoid that?


More information about the l4-hackers mailing list