Mon, 21 Feb 2000 Mario Teijeiro Otero wrote:
> Hello:
> I'am doing my thesis in based on Rtlinux. I have to map a file on memory to
> that rtilinux use it. My problem is how pass to rtlinux the memory address.
> Proccess Linux pass to rtlinux the memory address where the file is mapped.
> But, how do Linux convert this memory address to its address space?.
> I think that get_user must not work because in the register haven't be the
> segment of process linux.
On the contrary, AFAIK, get_user() and relatives are meant to be used by
drivers to convert between user and kernel addresses. This works for any normal
data, so I guess it should work for mapped files as well...
Regards,
//David
P r o f e s s i o n a l L i n u x A u d i o
· ··-------------------------------------------------·· ·
MuCoS - http://www.linuxdj.com/mucos
Audiality - http://www.angelfire.com/or/audiality
David Olofson - [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/~rtlinux/