Failed to create a new task
adam at os.inf.tu-dresden.de
Mon Mar 10 08:27:03 CET 2008
On Sun Mar 09, 2008 at 23:31:47 -0700, ahmad kamal wrote:
> is rmgr a roottask?
> why we need to rmgr_get_task(int taskno)?
Because you need to have the right to create new tasks and roottask is
implementing the policy for this so that you can create them.
> ----- Original Message ----
> From: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
> To: l4-hackers at os.inf.tu-dresden.de
> Sent: Monday, March 10, 2008 7:43:17 AM
> Subject: Re: Failed to create a new task
> On Sat Mar 08, 2008 at 22:54:30 -0800, ahmad kamal wrote:
> > I've failed to create a new task:
> > the l4_task_new in my code return 0 (L4_NIL_ID) which is indicate
> > either the task was create as inactive or didn't create at all.
> Good you have posted the source.
> I think the problem is that you need to get the right for creating new
> tasks first. Depending whether simple_ts is started or not you need to
> l4ts_allocate_task2(0, &tid)
> before the l4_task_new. Then it should work.
Adam adam at os.inf.tu-dresden.de
More information about the l4-hackers