From: "Stéphane ANCELOT" <sancelot@domain.hid>
To: rpm@xenomai.org
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] pb sharing xeno heap data with std kernel module
Date: Mon, 10 Sep 2007 08:36:52 +0200 [thread overview]
Message-ID: <46E4E604.70607@domain.hid> (raw)
In-Reply-To: <1188983761.28092.278.camel@domain.hid>
Philippe Gerum a écrit :
> On Wed, 2007-09-05 at 09:25 +0200, Stéphane ANCELOT wrote:
>> Hi,
>>
>> I have setted up a shared heap between a kernel module and an user space
>> app.
>>
>> However another "std" kernel model would need a ptr to some data in it .
>>
>> rt_heap are virtual adresses I suppose.
>>
>> Is there a way to give a phys pointer to the other kernel module ?
>>
>
> You should rather store offsets to data from the heap start address
> instead of pointers, and compose pointers using the (base, offset) pair
> when dereferencing data within this space.
Yes, I agree, I have already done this between the userspace and the
first kernel module. However I have no easy possibility to break the
second kernel module functions for compatibilitry reasons.
>> Best Regards
>> Steph
>>
>>
>> _______________________________________________
>> Xenomai-help mailing list
>> Xenomai-help@domain.hid
>> https://mail.gna.org/listinfo/xenomai-help
prev parent reply other threads:[~2007-09-10 6:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-05 7:25 [Xenomai-help] pb sharing xeno heap data with std kernel module Stéphane ANCELOT
2007-09-05 9:16 ` Philippe Gerum
2007-09-10 6:36 ` Stéphane ANCELOT [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=46E4E604.70607@domain.hid \
--to=sancelot@domain.hid \
--cc=rpm@xenomai.org \
--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.