All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Question about rtdm_mmap_to_user()
@ 2008-04-03  9:46 Perrine Martignoni
  2008-04-03 10:00 ` Bosko Radivojevic
  2008-04-03 10:07 ` Hannes Mayer
  0 siblings, 2 replies; 11+ messages in thread
From: Perrine Martignoni @ 2008-04-03  9:46 UTC (permalink / raw)
  To: xenomai-help

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

Hello,

I try to allocate a buffer in kernel space (with kmalloc) and then map it
into user-space (with rtdm_mmap_to_user).
After, I fill in the buffer in user space with the address returned by
rtdm_mmap_to_user, and when I read it into the kernel space with the kernel
address, I don't have the values put in user-space.

What I'm doing wrong ?
Have you a simple example of use of rtdm_mmap_to_user ?

Thanks in advance.
Best Regards,
Perrine

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

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

end of thread, other threads:[~2008-04-04 13:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03  9:46 [Xenomai-help] Question about rtdm_mmap_to_user() Perrine Martignoni
2008-04-03 10:00 ` Bosko Radivojevic
2008-04-03 12:52   ` Perrine Martignoni
2008-04-03 13:07     ` Jan Kiszka
2008-04-04  7:18     ` Bosko Radivojevic
2008-04-04 12:59       ` Perrine Martignoni
2008-04-04 13:04         ` Gilles Chanteperdrix
2008-04-03 13:42   ` Gilles Chanteperdrix
2008-04-03 14:34     ` Perrine Martignoni
2008-04-03 16:25       ` Philippe Gerum
2008-04-03 10:07 ` Hannes Mayer

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.