Failed to create a new task
ahmad kamal
amadkamal at yahoo.com
Mon Mar 10 07:31:47 CET 2008
is rmgr a roottask?
why we need to rmgr_get_task(int taskno)?
----- 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
Hi,
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
use
l4ts_allocate_task2(0, &tid)
or
rmgr_get_task(num)
before the l4_task_new. Then it should work.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
_______________________________________________
l4-hackers mailing list
l4-hackers at os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20080309/1f56a6b7/attachment.htm>
More information about the l4-hackers
mailing list