All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Xenomai System Call
@ 2011-03-19 16:30 Peter Warner
  2011-03-20 13:45 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Warner @ 2011-03-19 16:30 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

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.




-- 
Regards,
peter

[-- Attachment #2: Type: text/html, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] Xenomai System Call
  2011-03-19 16:30 [Xenomai-help] Xenomai System Call Peter Warner
@ 2011-03-20 13:45 ` Gilles Chanteperdrix
       [not found]   ` <AANLkTi=gGfab6-uSfTtc93G9jpZGhaRiejB3vEvS2Wf+@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2011-03-20 13:45 UTC (permalink / raw)
  To: Peter Warner; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] Xenomai System Call
       [not found]   ` <AANLkTi=gGfab6-uSfTtc93G9jpZGhaRiejB3vEvS2Wf+@mail.gmail.com>
@ 2011-03-21 16:38     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2011-03-21 16:38 UTC (permalink / raw)
  To: Peter Warner; +Cc: Xenomai help

Peter Warner wrote:
> Hi Gillies,

It's Gilles.

> 
> Thank you for your mail. I have only one Question now.
> Do I need to recompile the patched kernel once again?

Every time you modify kernel sources, you have to recompile it, yes. But
  you can compile any skin as a module, and so, only recompile the module.

Next private mail will receive no answer.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-21 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 16:30 [Xenomai-help] Xenomai System Call Peter Warner
2011-03-20 13:45 ` Gilles Chanteperdrix
     [not found]   ` <AANLkTi=gGfab6-uSfTtc93G9jpZGhaRiejB3vEvS2Wf+@mail.gmail.com>
2011-03-21 16:38     ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.