uncached user space mapping with mmap() ???

Fillod Stephane stephane.fillod at thomson.net
Fri Mar 5 01:15:27 EST 2004


Hi Steven,

> I am trying to access a hardware timer implemented in an FPGA from
> user space. I implemented a simple mmap() functionality (taken from
> Runbini's Linux Device Driver)

Please refer to "11.13. Accessing peripherals from user space"
in the excellent FAQ from DENX's TWiki at :

http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Accessin
gPeripheralsFromUserSpace


There's no need to implement kernel side stuff. /dev/mem is enough.


Regards,

--
Stéphane

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list