No reason to apologize, your English is almost perfect.
Anyway, there may be other means, but here are some:
1. Global variables. You can export symbols in the module
that's loaded first and have each of the modules put into
these variables what it wishes to share and take out what
it needs from the others.
2. Simple Shared Memory. You can reserve some RAM at the
top of memory to use as your own private "shared memory"
that Linux won't even see. You can decide on the structure
you want for this area and AFAIK the first module to be
loaded has to mmap() this memory to get a virtual address
to use.
3. There's also a more complex shared memory driver
available for RTLinux which I've never used because my
needs aren't that complex.
Norm
----- Original Message -----
From: Massimiliano Cialdi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 3:13 PM
Subject: [rtl] communication between modules
> how a module can share some data with other modules?
>
> thanks and sorry for my english.
> --
> Massimiliano Cialdi
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> -- [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/
>
-- [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/