mirror of https://github.com/RT-Thread/rt-thread
fixed stack setup when using SMP. (#7978)
This commit is contained in:
parent
c85069f9fc
commit
3e91307326
|
@ -331,7 +331,11 @@ after_mmu_enable_cpux:
|
||||||
b rt_hw_secondary_cpu_bsp_start
|
b rt_hw_secondary_cpu_bsp_start
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef RT_CPUS_NR
|
||||||
|
#define RT_CPUS_NR 1
|
||||||
|
#endif
|
||||||
|
|
||||||
.align 12
|
.align 12
|
||||||
.el_stack:
|
.el_stack:
|
||||||
.space (8192)
|
.space (8192 * RT_CPUS_NR)
|
||||||
.el_stack_top:
|
.el_stack_top:
|
||||||
|
|
Loading…
Reference in New Issue