This sounds like the same problem I experienced but two weeks ago so it gives
me the opportunity to thank those who responded and say what worked for me.

The correct answer is that the shared memory HOWTO is out of date. You need 
to `map' the memory section from the _real_time_ module too using vremap:

     char *rt_ptr;
     rt_ptr = (char *) vremap(BASE_ADDRESS, MEM_LENGTH );

At the end you need to free it with using vfree.

Rob Butera pointed this out to me and I am indebted to him as my app now 
behaves correctly. He pointed out two URLs where further information could
be obtained:

 http://rtlinux.cs.nmt.edu/~rtlinux/rtl.w3archive/9807/msg00078.html

 http://mrb.niddk.nih.gov/butera/software/buzz.html

(The latter contains a URL to a .tar.gz file which writes its contents to the
screen - you will have to save the latter a plain text before proceeding).


+==================================================================+
 Phil Daly, NOAO/AURA, 950 N. Cherry Avenue, Tucson AZ 85719, U S A
 E-mail: [EMAIL PROTECTED]  V-mail: (520) 318 8438  Fax: (520) 318 8360

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