fix: smp初始化中副核冗余的启动框架调用
close: #I4F8A5 Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I9a863d3265fd18051d8bfcaab51ad59216630e91
This commit is contained in:
parent
f63ce99399
commit
5ce70a50c3
|
@ -35,7 +35,6 @@
|
|||
#include "los_hw.h"
|
||||
#include "los_atomic.h"
|
||||
#include "los_arch_mmu.h"
|
||||
#include "los_init_pri.h"
|
||||
#include "gic_common.h"
|
||||
#include "los_task_pri.h"
|
||||
|
||||
|
@ -94,7 +93,6 @@ VOID HalSecondaryCpuStart(VOID)
|
|||
/* store each core's hwid */
|
||||
CPU_MAP_SET(cpuid, OsHwIDGet());
|
||||
HalIrqInitPercpu();
|
||||
OsInitCall(LOS_INIT_LEVEL_ARCH);
|
||||
|
||||
cpuInit->cpuStart(cpuInit->arg);
|
||||
|
||||
|
|
|
@ -44,17 +44,13 @@ STATIC struct SmpOps *g_smpOps = NULL;
|
|||
STATIC VOID OsSmpSecondaryInit(VOID *arg)
|
||||
{
|
||||
UNUSED(arg);
|
||||
OsInitCall(LOS_INIT_LEVEL_PLATFORM);
|
||||
|
||||
OsCurrProcessSet(OS_PCB_FROM_PID(OsGetKernelInitProcessID()));
|
||||
OsInitCall(LOS_INIT_LEVEL_KMOD_BASIC);
|
||||
|
||||
#ifdef LOSCFG_BASE_CORE_SWTMR_ENABLE
|
||||
OsSwtmrInit();
|
||||
#endif
|
||||
|
||||
OsInitCall(LOS_INIT_LEVEL_KMOD_EXTENDED);
|
||||
|
||||
OsIdleTaskCreate();
|
||||
OsInitCall(LOS_INIT_LEVEL_KMOD_TASK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue