2011/12/19 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
On 18 December 2011 14:58, Michael Hope michael.hope@linaro.org wrote:
Hmm. There's a CPU flag to say if you should trap or just do it when you see an unaligned access. I wonder if the trap is turned on during early init?
Good question... Do you know the details off the top of your head? (I don't, so nothing to grep for without googling first ;) )
According to the A9 TRM, it's bit A of SCTLR "Enables strict alignment of data to detect alignment faults in data accesses".
-- Michael