Peter Warner wrote:
> Hi All,
> 
> My System Detail:
> Operating System: Ubuntu 10.04
> Xenomai: 2.5.5.2
> 
> I Just want to implement some system calls for xenomai. Can you Please
> Suggest me How It can be done.

What you want may be creating a new skin, or adding a syscall to an
existing skin. Either way, it is relatively simple, you just have to
look at the way an existing skin is done.

For instance, for the native skin service rt_task_create, the service is
implemented in src/skins/native/task.c,  emits a syscall using the
syscall number __native_task_create defined in include/native/task.h,
and the syscall is caught in kernel-space in
ksrc/skins/native/syscall.c, where its implementation uses the
kernel-space service rt_task_create defined in ksrc/skins/native/task.c.
This last step is not mandatory if you do not intend your new service to
be also available to kernel modules.

-- 
                                                                Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to