From 4358eba13aba871aa5ef67d07ba2199f82a3d684 Mon Sep 17 00:00:00 2001 From: ligd Date: Fri, 29 Dec 2023 21:42:54 +0800 Subject: [PATCH] armv7-a/r: export __start symbol Signed-off-by: ligd --- arch/arm/src/armv7-a/smp.h | 2 ++ arch/arm/src/armv7-r/smp.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/src/armv7-a/smp.h b/arch/arm/src/armv7-a/smp.h index 15071254f2..865c847b30 100644 --- a/arch/arm/src/armv7-a/smp.h +++ b/arch/arm/src/armv7-a/smp.h @@ -84,6 +84,8 @@ extern uint32_t g_cpu3_idlestack[SMP_STACK_WORDS]; * ****************************************************************************/ +void __start(void); + #if CONFIG_SMP_NCPUS > 1 void __cpu1_start(void); #endif diff --git a/arch/arm/src/armv7-r/smp.h b/arch/arm/src/armv7-r/smp.h index 2058eeaf3b..4edc49ee34 100644 --- a/arch/arm/src/armv7-r/smp.h +++ b/arch/arm/src/armv7-r/smp.h @@ -84,6 +84,8 @@ extern uint32_t g_cpu3_idlestack[SMP_STACK_WORDS]; * ****************************************************************************/ +void __start(void); + #if CONFIG_SMP_NCPUS > 1 void __cpu1_start(void); #endif