From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Roberto Bielli <roberto.bielli@axelsw.it>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] fcse best-effort mode has limitations in memory map
Date: Sun, 04 Aug 2013 15:07:20 +0200 [thread overview]
Message-ID: <51FE5208.9090008@xenomai.org> (raw)
In-Reply-To: <51F267DB.2050404@axelsw.it>
On 07/26/2013 02:13 PM, Roberto Bielli wrote:
> Hi,
>
> i try to map a memory address fixed on 0x79000000 with mmap.
> if i don't enable FCSE with best effort the mmap give me the desire
> wanted address,
> otherwise seems only an adress minor than 32MB.
>
> But i understand that fcse with best effort cannot has limitations.
>
> Xenomai 2.6.2.1 on kernel 3.4.6, tx28 karo ( freescale imx28 ) ARM.
Well, actually it works here, maybe you forgot to pass the "MAP_FIXED"
flag? If you do not pass this flag, the address is taken as a "hint",
and mmap has no obligation to use it.
--
Gilles.
next prev parent reply other threads:[~2013-08-04 13:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 12:13 [Xenomai] fcse best-effort mode has limitations in memory map Roberto Bielli
2013-08-04 12:20 ` Gilles Chanteperdrix
2013-08-04 13:07 ` Gilles Chanteperdrix [this message]
2013-08-05 10:26 ` Roberto Bielli
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=51FE5208.9090008@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=roberto.bielli@axelsw.it \
--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.