From: Jan Kiszka <jan.kiszka@domain.hid>
To: Kolja Waschk <xenoka09@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rtdm_mmap_to_user without MMU
Date: Sat, 18 Jul 2009 10:00:01 +0200 [thread overview]
Message-ID: <4A618101.2000608@domain.hid> (raw)
In-Reply-To: <Pine.LNX.4.62.0907171349580.28491@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
Kolja Waschk wrote:
>> they will become two in the end), see below. Please check if it works
>> for you.
>
> Aah, I was checking too hastily and missed a compile error. Sorry!
> Actually, there's a typo in the get_unmapped_area (filp <-> file), and
> it does _not_ work this way, unless the address to map is specified as
> the offset when calling do_mmap:
>
> user_ptr = (void *)do_mmap(filp, (unsigned long)*pptr, len, prot,
> MAP_SHARED, mmap_data->src_vaddr);
>
> Otherwise pptr will simply remain zero.
Hmm, thought I got all paths. Such side effects indicate that this way
is not a stable one. Ok, will try to find a better solution, but may
take some time.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-07-18 8:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 19:14 [Xenomai-help] rtdm_mmap_to_user without MMU Waschk,Kolja
2009-07-15 7:44 ` Jan Kiszka
2009-07-15 10:24 ` Kolja Waschk
2009-07-15 14:35 ` Kolja Waschk
2009-07-16 21:41 ` Jan Kiszka
2009-07-17 9:59 ` Kolja Waschk
2009-07-17 11:50 ` Kolja Waschk
2009-07-18 8:00 ` Jan Kiszka [this message]
2009-08-04 7:21 ` Kolja Waschk
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=4A618101.2000608@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=xenoka09@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.