[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] Mapping memory



take a look at one of the PCI drivers in ./linux/drivers/scsi/ for example.
The function is called ioremap() in 2.2 kernels

Jens Michaelsen


Nachricht geschrieben von Adam Meyerowitz
>
Hello,

I am having some difficulty mapping memory in my rtlinux module.  I am
attempting
to map the memory on the vga card which is at physical address 0xe2000000.
To 
attempt to do the mapping I call mmap after opening /dev/mem.  Everything
works
find and no errors are returned.  Once I try to use the pointer returned by
mmap I get the following error:

        Unable to handle kernel paging request at virtual address e200000.

Any ideas what the problem is?

Thanks
Adam
<
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/