On Wed, 2005-03-23 at 14:25 +0530, Vijay Padiyar wrote:
> Can you suggest some kind of a "synchronization" function which I can call
> from *user space* which will ensure that all values written to mmaped memory
> locations from user space are actually flushed to their physical locations?
> I think this might be a potential problem with my code.

Have a look at linux/include/asm-ppc/{io.h,system.h} and
http://www.xml.com/ldd/chapter/book/ch08.html

The eieio instruction doesn't need supervisor rights.

Greetings,

-- 
Stefan Nickl
Kontron Modular Computers



Reply via email to