Accessing flash directly from User Space [SOLVED]
Jonathan Haws
Jonathan.Haws at sdl.usu.edu
Sat Oct 31 01:57:12 EST 2009
> On Friday 30 October 2009 15:50:22 Jonathan Haws wrote:
> > > I suspect that the msync() was merely serving as a very
> heavyweight
> > > memory barrier.
> >
> > I did try hacking the mb() calls from the kernel source to use
> them in user space, but they had no effect. I still had to include
> the calls to msync().
>
> What did the resulting mb() that you used look like?
asm("eieio; sync");
More information about the Linuxppc-dev
mailing list