fixed stack setup when using SMP. (#7978)

This commit is contained in:
aozima 2023-08-26 07:36:25 +08:00 committed by GitHub
parent c85069f9fc
commit 3e91307326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,7 +331,11 @@ after_mmu_enable_cpux:
b rt_hw_secondary_cpu_bsp_start
#endif
#ifndef RT_CPUS_NR
#define RT_CPUS_NR 1
#endif
.align 12
.el_stack:
.space (8192)
.el_stack_top:
.space (8192 * RT_CPUS_NR)
.el_stack_top: