
19 Feb
2009
19 Feb
'09
1:32 a.m.
On Wed, 18 Feb 2009 09:19:08 +0100 Remco Poelstra remco.poelstra@duran-audio.com wrote:
Wolfgang Denk schreef:
I bet you are using a plain pointer access without a "volatile", which is essential here. Maybe even some form of "sync" is needed. In any case, you should use appropriate accessor functions to access device registers.
I do not know any accessor functions.
things like out_be32 (at least that's what it's called on ppc arch).
What do you mean with a "sync"?
it's a processor instruction that ensures that memory and/or i/o accesses occur exactly when you specify they occur. For this reason, a sync instruction is included as a part of the accessor functions.
Kim