RE: Accessing flash directly from User Space [SOLVED]
From: Jonathan Haws <hidden>
Date: 2009-10-30 14:57:20
From: Jonathan Haws <hidden>
Date: 2009-10-30 14:57:20
On Friday 30 October 2009 15:50:22 Jonathan Haws wrote:quoted
quoted
I suspect that the msync() was merely serving as a veryheavyweightquoted
quoted
memory barrier.I did try hacking the mb() calls from the kernel source to usethem in user space, but they had no effect. I still had to include the calls to msync(). =20 What did the resulting mb() that you used look like?
asm("eieio; sync");