mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
armv7-r: idle stack should align with 8
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -161,6 +161,7 @@ __cpu0_start:
|
|||||||
/* Set up the stack pointer and clear the frame pointer. */
|
/* Set up the stack pointer and clear the frame pointer. */
|
||||||
|
|
||||||
ldr sp, .Lstackpointer
|
ldr sp, .Lstackpointer
|
||||||
|
bic sp, sp, #7 /* Get the stack pointer with 8-byte alignment */
|
||||||
mov fp, #0
|
mov fp, #0
|
||||||
|
|
||||||
/* Invalidate caches and TLBs.
|
/* Invalidate caches and TLBs.
|
||||||
|
|||||||
Reference in New Issue
Block a user