hi,
Thanks for your answers.
Now, I have changed the member variable in struct to make sure that
the alignment is correct.
--
Thanks,
Zhenfeng Ren
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://l
ilto:davinci-linux-open-source-bounces+anandb=ti@linux.davincidsp.com]
On Behalf Of Heroor, Siddharth
Sent: Monday, April 27, 2009 11:30 AM
To: zhenfeng ren; davinci-linux-open-source@linux.davincidsp.com
Subject: RE: when port a software , bus error
Hi,
On Arm, you can access only word aligned
Hi,
On Arm, you can access only word aligned data. To access a 32 bit value, the
address needs to be 32 bit aligned etc.. If the data is not aligned, then a bus
error is thrown.
I'm guessing that its because of the char m, data[] will not be aligned in
_test_c.
Thanks and Regards,
Sid
+91-80