Bad volatile -mstrict-align code on powerpc on 4.0.2?
Peter Dufault
dufault at hda.com
Wed Nov 9 16:25:52 UTC 2005
On Nov 9, 2005, at 8:06 AM, Peter Dufault wrote:
>
> The compiler shouldn't reorder those since the struct is volatile.
> Is there a setting for the VME bus interface to prevent this? I'd
> expect a read through the same bus mapping to block until all
> writes flushed.
>
Never mind - I suppose the CPU itself can reorder the accesses, so I
guess I have no choice but to modify the register access from memory
mapped to something else.
Peter
More information about the users
mailing list