Hi ,
After reading Xenomai code, I have some questions:
1. usespace--> rt_task_create -->pthread_create-->__native_task_create
So why xenomai use pthread to invoke __native_task_create ?
2. usespace-->rt_task_start(RT_TASK *task, void (*entry) (void
*cookie), void *cookie)-->
kernel space --> __rt_task_start(struct task_struct *curr, struct pt_regs
*regs)-->
rt_task_start(task,
(void (*)(void *))__xn_reg_arg2(regs),
(void *)__xn_reg_arg3(regs));
I can't understand that the entry paramter is address of function in
user space ,why it can be passed into kernel space by syscall?
3. the xnthread_t struct and pod sechedule algorithm looks very complex,
is there any papers taking about it?
thanks very much!!!!
_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main