未验证 提交 238c9346 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2530 from qz721/libcpu_cortex_a

Disable the data alignment check.
......@@ -51,6 +51,11 @@ _reset:
/* set the cpu to SVC32 mode and disable interrupt */
cps #Mode_SVC
/* disable the data alignment check */
mrc p15, 0, r1, c1, c0, 0
bic r1, #(1<<1)
mcr p15, 0, r1, c1, c0, 0
/* setup stack */
bl stack_setup
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册