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. > Best Regards > Steph > > > _______________________________________________ > Xenomai-help mailing list > [email protected] > https://mail.gna.org/listinfo/xenomai-help -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
