On Mon, Apr 23, 2001 at 04:29:47PM -1000, Tony Denault wrote:
> 
> I need ~2MB memory buffer to shared data between the rtl and linux
> process. I need the virtual address returned by mbuff to be the same to
> all task gaining access to my mbuff() memory. How can this be done?


This isn't really reasonable.  Even among user-space tasks,
you are essentially at the mercy of the kernel to provide
you with it's best effort to map memory to a particular
location.  Plus, you need to have a good idea of an area that
the kernel will allow you to use in every process.

Then you have the user-space/kernel-space problem.  On x86,
everything user-space is < 0xc0000000, everything kernel is
>= 0xc0000000.  So if you want an area that satisfies both
criteria, you are, um..., out of luck.

> If mbuff() can't, is there another way?

Not without massive kernel hackery.




dave...
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to