All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rtdm driver development
@ 2007-09-26 19:52 Bachman Kharazmi
  2007-09-30 15:51 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Bachman Kharazmi @ 2007-09-26 19:52 UTC (permalink / raw)
  To: Xenomai

Hi
I've implemented a ringbuffer which will buffer strings between a
pipe-read-task=>[buffer]=>rtdm-rtserial-writetask

The buffer has been implemented in userland and it works.
But in kernelspace (everything in a loaded in a kernel-module) things
doesn't work. It's the put(token) which doesn't work.
The function is put(char* c){ ... }

I've heard that there's an address difference. But how do I handle that?

http://www.xenomai.org/documentation/trunk/html/api/group__util.html#g9ce418051ccb7dd2366128efb8674262
is rtdm_strncpy_from_user() something I should use?

exactlly what is: rtdm_user_info_t *  else than a pointer?
Where do I declare it? There's no clickable link in the api for that that type..

The description sais: "User information pointer as passed to the
invoked device operation handler"
...

/B


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

end of thread, other threads:[~2007-09-30 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-26 19:52 [Xenomai-help] rtdm driver development Bachman Kharazmi
2007-09-30 15:51 ` Jan Kiszka
2007-09-30 16:23   ` Bachman Kharazmi
2007-09-30 18:11     ` Jan Kiszka

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.