From: Philippe Gerum <rpm@xenomai.org>
To: "Stéphane ANCELOT" <sancelot@free.fr>,
"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] V3 heap usage
Date: Wed, 06 May 2015 11:27:51 +0200 [thread overview]
Message-ID: <5549DE97.2070902@xenomai.org> (raw)
In-Reply-To: <5548DC34.3000903@free.fr>
On 05/05/2015 05:05 PM, Stéphane ANCELOT wrote:
> Hi,
>
> Since rtheap compat alchemy seems broken, I wanted to try native heap
> dynamic allocation.
>
Your test code is broken, not the API so far. Besides, I can only repeat
myself: there is no rtheap compat wrappers in the transition kit, simply
because there is no need for it:
http://www.xenomai.org/pipermail/xenomai/2015-April/034091.html
http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/#Heaps
> I found xnheap_ functions.
>
These are kernel-space inner services for implementing the dual kernel
system. You most likely don't want to use them.
> However, in this case, I have to manage heap byte alignment.
>
No, that would make no sense, you must have misread the internal docs or
code.
> These are the right functions to use ? or I missed something ???
>
You seem to be missing the documentation:
http://www.xenomai.org/documentation/xenomai-3/html/xeno3prm/group__alchemy__heap.html
--
Philippe.
prev parent reply other threads:[~2015-05-06 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 15:05 [Xenomai] V3 heap usage Stéphane ANCELOT
2015-05-06 9:27 ` Philippe Gerum [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=5549DE97.2070902@xenomai.org \
--to=rpm@xenomai.org \
--cc=sancelot@free.fr \
--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.