All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] RTDM context_size question
@ 2007-08-16 12:04 Steven Kauffmann
  2007-08-16 17:59 ` Jan Kiszka
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Kauffmann @ 2007-08-16 12:04 UTC (permalink / raw)
  To: xenomai

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

Hi

When looking at the rtdm examples tut01-skeleton en tut02-skeleton, I have a
question about the context_size in the rtdm_device struct.

In tut01-skeleton-drv.c, the context_size = sizeof(buffer_t), in the other
example context_size = 0. Both drivers uses the
rtdm_safe_copy_to_user/rtdm_safe_copy_from_user functions to write/read data
from buffer_t(kernel space) to user_space. So I don't understand why the
context_size in tut02 is different than in tut01. Or is the context_size
only important if we open the driver several times from one or more
user_space programs?

Thanks in advance

Steven

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

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

end of thread, other threads:[~2007-08-23 20:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 12:04 [Xenomai-help] RTDM context_size question Steven Kauffmann
2007-08-16 17:59 ` Jan Kiszka
2007-08-16 20:59   ` trem
2007-08-17  8:17     ` Jan Kiszka
2007-08-17 22:43       ` trem
     [not found]       ` <46C5E4AC.1090608@domain.hid>
2007-08-18  6:34         ` [Xenomai-core] " Jan Kiszka
2007-08-20 21:15           ` trem
     [not found]           ` <46C9FFDA.8030200@domain.hid>
2007-08-23 20:33             ` Jan Kiszka
2007-08-23 20:43               ` trem

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.