Thread (44 messages) 44 messages, 12 authors, 2009-11-01

RE: Accessing flash directly from User Space [SOLVED]

From: Jonathan Haws <hidden>
Date: 2009-10-30 16:46:55

Michael Buesch wrote:
quoted
Yes, I think the barrier is wrong.
Please try with

#define mb()	__asm__ __volatile__("eieio\n sync\n" : : :
"memory")
=20
=20
For uncached memory, eieio should be enough.
I tried eieio alone and it did not work.  It needed the above command to ta=
ke care of it all.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help