RE: mmap : please help !

From: Fillod Stephane <hidden>
Date: 2005-04-13 16:34:17

Sophie CARAYOL wrote:
[...]
What is the good manner to read or write in the physical memory?
Please have a look at Denx's FAQ for accessing memory bus:

=20
http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Acce
ssingPeripheralsFromUserSpace
or shorter: http://tinyurl.com/6c7th

Depending on the O_SYNC flag passed to open, the mmap'ed memory will be
accessed through non guarded cache or not. See linux/drivers/char/mem.c.
The ppc instruction "eieio" deals with I/O ordering.


Kenavo
--=20
Stephane

PS: be careful not sending twice the same mail to the list=20
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help