From: Hannes Mayer <h.mayer@domain.hid>
To: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Question about rtdm_mmap_to_user()
Date: Thu, 03 Apr 2008 12:07:30 +0200 [thread overview]
Message-ID: <47F4AC62.4090909@domain.hid> (raw)
In-Reply-To: <7289437c0804030246v7992ec23kedcc2c8b71dc14f8@domain.hid>
http://www.captain.at/xenomai-real-time-driver-example.php :-)
Perrine Martignoni wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
prev parent reply other threads:[~2008-04-03 10:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47F4AC62.4090909@domain.hid \
--to=h.mayer@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.