From: Stelian Pop <stelian.pop@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH, RFC] Make ioremap'ed memory available through rtdm_mmap_to_user()
Date: Mon, 18 Sep 2006 23:13:07 +0200 [thread overview]
Message-ID: <1158613987.31164.9.camel@domain.hid> (raw)
In-Reply-To: <450AD766.3000307@domain.hid>
Le vendredi 15 septembre 2006 à 18:40 +0200, Jan Kiszka a écrit :
> In case no one comes up with an easy, portable way to detect remapped
> memory as well: What about some flags the caller of rtdm_mmap_to_user
> has to pass, telling what kind of memory it is? Would simplify the RTDM
> part, and the user normally knows quite well where the memory came from.
> And I love to break APIs. :)
This would be perfect. We could even reuse the prot field for that
(PROT_READ | PROT_WRITE | PROT_VMALLOC | PROT_IOREMAP). Not the cleanest
solution, but it won't break the API this way.
Or maybe we should lower the API level a little bit, and let the user
specify the physical address of the mapping instead of the virtual
one....
Stelian.
--
Stelian Pop <stelian.pop@domain.hid>
next prev parent reply other threads:[~2006-09-18 21:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 16:26 [Xenomai-core] [PATCH, RFC] Make ioremap'ed memory available through rtdm_mmap_to_user() Stelian Pop
2006-09-15 16:40 ` Jan Kiszka
2006-09-18 21:13 ` Stelian Pop [this message]
2006-09-19 15:34 ` Jan Kiszka
2006-09-22 8:35 ` Stelian Pop
2006-09-22 8:58 ` Jan Kiszka
2006-09-22 11:34 ` Stelian Pop
2006-09-22 14:41 ` Jan Kiszka
2006-09-22 14:53 ` Stelian Pop
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=1158613987.31164.9.camel@domain.hid \
--to=stelian.pop@domain.hid \
--cc=jan.kiszka@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.