Hi,

I have some questions about the shared memory module of RTLinux. I use the
RTL v.2 with the kernel 2.2.13 on a PC Pentium 200. My question are:

1- What is the maximum size of the shared memory with the module available
with the base version of rtl 2.0? Can I find a more up-to-date version?

2- Can I use this shared memory from a interrupt routine?

3- Can I shared memory between a RTL-interrupt routine and a Linux-Process
and follow the writing by this way:

RTL interrupt routine:
-declare a structure (and allocate the memory for) where the number of data
acquired is record, base address, ... are stock.
-send the address of the structure by a fifo to a linux process
-declare a shared memory zone for record data
-record data on shared memory and increase the index in structure

Linux-process
-declare a pointer on the address receive by the fifo
-allocate the shared memory zone
-Read the index of the data
-read shared memory zone

NOTE: in this example, the pointer on structure is common to the 2
functions. Can the access is possible by the both function or memory will
be protect?

This method look as the faster to acces the shared memory zone (during
acquisition task) with a minimum memory page swap. Can I know is someone
have tried it?

4- What is the maximum jitter time on a  Pentium 100 ? or what are the
units of data with the measurements examples?

Regards,

Stephane Bouchard




--- [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