What is truly disappointing is that (as I understand it) using mmap() to map
a real address to a specified virtual location can't be used in the kernel
(or am I missing something?) Also I've tried to use mmap() to address (in
user-space) reserved memory to the same address that ioremap() gives to a
kernel module and it's failed.
Norman Dresner
Fellow Systems Engineer &(SGI) Advanced Signal Processing Laboratory
Administrator
Radar Systems Engineering Department
Electronic Systems and Sensors Segment
Northrop Grumman Corporation
MS 520
Box 746
Baltimore MD 21203
Voice: (410) 993 - 2096 Mornings; all-day voice-mail
(410) 969 - 8068 Afternoons with answering machine
FAX: (410) 993 - 8084 On-site
(410) 969 - 8068 Afternoons; call first to arrange
E-Mail: Mornings: mailto:[EMAIL PROTECTED]
Afternoons: mailto:[EMAIL PROTECTED]
> -----Original Message-----
> From: C. W. Wright (1698) [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 8:00 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [rtl] How to do shared memory with pointers?
>
>
>
> > I guess I'm a little disappointed. I would of though the kernel would be
> > able to return 'almost' any unused virtual address to either the
> realtime
> > or normal linux task.
>
>
> It can do what you want. See "man mmap" and look at the MAP_FIXED and
> MAP_SHARED. Note the verbage "start must be a multiple of the page-size."
> The program will not work unless the address you request is on a page
> boundary, and will core-dump with a page fault.
>
> -Wayne
> -- [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/
-- [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/