uncached user space mapping with mmap() ???

Fillod Stephane stephane.fillod at thomson.net
Fri Mar 5 01:47:29 EST 2004

Steven Scholz wrote:
>> Please refer to "11.13. Accessing peripherals from user space"
>> in the excellent FAQ from DENX's TWiki at :
>> gPeripheralsFromUserSpace
>> There's no need to implement kernel side stuff. /dev/mem is enough.
>Oh! Nice. Thanks a million! It actually works (on my ARM board!)

Glad to hear it!

>So why will people need their own mmap() driver if this kind of things
>can be done via /dev/mem ???

For fun :)

Or weird(read clever) mappings.

>And: Can I mmap() 32MB of peripheral memory into user space?

I don't see any reason why you would not be able to.
The best answer is try it, and see for yourself.



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

More information about the Linuxppc-embedded mailing list