From 87b8e6b0ad9c270b56a9117c1547ab797afa16f2 Mon Sep 17 00:00:00 2001 From: x_xiny <1301913191@qq.com> Date: Thu, 13 Jan 2022 21:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=20fix:=20L1-liteos-tdd=E6=B5=8B=E8=AF=95liteos?= =?UTF-8?q?=5Fa=5Fprocess=5Funittest.bin,liteos=5Fa=5Fsecurity=5Fvid=5Funi?= =?UTF-8?q?ttest.bin=E5=92=8Cliteos=5Fa=5Ftime=5Fclock=5Funittest.bin?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=94=A8=E4=BE=8Bun?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【背景】L1-liteos-tdd测试liteos_a_process_unittest.bin,liteos_a_security_vid_unittest.bin和liteos_a_time_clock_unittest.bin模块用例un 【修改方案】 1.暂时将musl中的exit()接口中的原子操作改为使用mutex方式实现 2.删除内核中不必要的打印 re #I4K9A5 Signed-off-by: xuiny Change-Id: Ifdbb9154c7541b863670bb4e3bcde2587970df38 --- kernel/base/core/los_task.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/base/core/los_task.c b/kernel/base/core/los_task.c index 26d9a8d0..4145ae74 100644 --- a/kernel/base/core/los_task.c +++ b/kernel/base/core/los_task.c @@ -617,9 +617,6 @@ LITE_OS_SEC_TEXT LosTaskCB *OsGetFreeTaskCB(VOID) if (LOS_ListEmpty(&g_losFreeTask)) { SCHEDULER_UNLOCK(intSave); PRINT_ERR("No idle TCB in the system!\n"); -#ifdef LOSCFG_DEBUG_VERSION - (VOID)OsShellCmdTskInfoGet(OS_ALL_TASK_MASK, NULL, OS_PROCESS_INFO_ALL); -#endif return NULL; } -- GitLab