On Mon, 6 Dec 1999, Edgar F. Hilton wrote:
> I am having a hard time getting Mbuff to work. Does anybody have any usage
> examples of BOTH the linux and rtlinux codes? The demo.c and tester.c that
> come with the mbuff package do not seem to help me much. I just need to
> allocate two shared memory blocks.
demo.c is example of usage in user space (is it what you call linux?)
if you need 2 blocks, just name them differently.
In the init_module for your rtlinux module just call mbuff_alloc twice, in a
similar way. In cleanup_module call mbuff_free.
Remember about having all pointers to shared memory declared "volatile".
What version are you using?
Get http://crds.chemie.unibas.ch/PCI-MIO-E/mbuff-0.6.3.tar.gz
Best regards,
--
Tomek
--- [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/