armv7-r: idle stack should align with 8

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2023-04-17 16:25:31 +08:00
committed by Xiang Xiao
parent f3063ce12b
commit 2cfea55f95
+1
View File
@@ -161,6 +161,7 @@ __cpu0_start:
/* Set up the stack pointer and clear the frame pointer. */
ldr sp, .Lstackpointer
bic sp, sp, #7 /* Get the stack pointer with 8-byte alignment */
mov fp, #0
/* Invalidate caches and TLBs.