All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rtsocketcan in kernel space
@ 2008-07-15  0:23 Breno Carneiro Pinheiro
  2008-07-15  6:03 ` Sebastian Smolorz
  0 siblings, 1 reply; 4+ messages in thread
From: Breno Carneiro Pinheiro @ 2008-07-15  0:23 UTC (permalink / raw)
  To: xenomai@xenomai.org

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

Is it possible to write an application using rtsocketcan to run on kernel
space? I mean, buid a kernel module using functions from rtsocketcan API.

Does anyone have an example?

Thanks in advance

Breno

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

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

* Re: [Xenomai-help] rtsocketcan in kernel space
  2008-07-15  0:23 [Xenomai-help] rtsocketcan in kernel space Breno Carneiro Pinheiro
@ 2008-07-15  6:03 ` Sebastian Smolorz
  2008-07-15 23:02   ` Breno Carneiro Pinheiro
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Smolorz @ 2008-07-15  6:03 UTC (permalink / raw)
  To: xenomai

Breno Carneiro Pinheiro wrote:
> Is it possible to write an application using rtsocketcan to run on kernel
> space? I mean, buid a kernel module using functions from rtsocketcan API.

RTDM provides an inter-driver API, see:
http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__interdrv.html

This is for calling RTDM driver functions from kernel space. But ask yourself 
whether it is really necessary for you to write an application in kernel 
space. User space applications are highly recommended.

-- 
Sebastian


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

* Re: [Xenomai-help] rtsocketcan in kernel space
  2008-07-15  6:03 ` Sebastian Smolorz
@ 2008-07-15 23:02   ` Breno Carneiro Pinheiro
  2008-07-16  8:25     ` Sebastian Smolorz
  0 siblings, 1 reply; 4+ messages in thread
From: Breno Carneiro Pinheiro @ 2008-07-15 23:02 UTC (permalink / raw)
  To: Sebastian Smolorz; +Cc: xenomai

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

Thanks Sebastian. Btw, I'd like to know whether  it's possible to change the
task's period or task's priority on-line. I mean, is there a way to change
the period or priority using rt_task_set_priority or rt_task_set_periodic
calls?

Thanks a lot,

Breno

2008/7/15 Sebastian Smolorz <Sebastian.Smolorz@domain.hid>:

> Breno Carneiro Pinheiro wrote:
> > Is it possible to write an application using rtsocketcan to run on kernel
> > space? I mean, buid a kernel module using functions from rtsocketcan API.
>
> RTDM provides an inter-driver API, see:
>
> http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__interdrv.html
>
> This is for calling RTDM driver functions from kernel space. But ask
> yourself
> whether it is really necessary for you to write an application in kernel
> space. User space applications are highly recommended.
>
> --
> Sebastian
>

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

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

* Re: [Xenomai-help] rtsocketcan in kernel space
  2008-07-15 23:02   ` Breno Carneiro Pinheiro
@ 2008-07-16  8:25     ` Sebastian Smolorz
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Smolorz @ 2008-07-16  8:25 UTC (permalink / raw)
  To: Breno Carneiro Pinheiro; +Cc: xenomai

Breno Carneiro Pinheiro wrote:
> Thanks Sebastian. Btw, I'd like to know whether  it's possible to change the
> task's period or task's priority on-line. I mean, is there a way to change
> the period or priority using rt_task_set_priority or rt_task_set_periodic
> calls?

All this is described in the API documentation, see:
http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__task.html

In short: Yes, it is possible.

-- 
Sebastian


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

end of thread, other threads:[~2008-07-16  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15  0:23 [Xenomai-help] rtsocketcan in kernel space Breno Carneiro Pinheiro
2008-07-15  6:03 ` Sebastian Smolorz
2008-07-15 23:02   ` Breno Carneiro Pinheiro
2008-07-16  8:25     ` Sebastian Smolorz

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.