From 11a9b00d43a6dbe9fba9f6eb07d78a9d226c28f8 Mon Sep 17 00:00:00 2001 From: YOUR_NAME Date: Fri, 30 Jul 2021 12:52:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E5=86=85=E6=A0=B8=E6=8F=90?= =?UTF-8?q?=E7=A4=BANo=20idle=20TCB=E6=97=B6=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=BD=93=E5=89=8D=E7=B3=BB=E7=BB=9F=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BB=A5=E6=96=B9=E4=BE=BF?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=AE=9A=E4=BD=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close: #I434UC Signed-off-by: zff Change-Id: If6cdb719412375c79356a50113a0efb45c8968f7 --- kernel/base/core/los_task.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/base/core/los_task.c b/kernel/base/core/los_task.c index 48e2e74d..fc02b832 100644 --- a/kernel/base/core/los_task.c +++ b/kernel/base/core/los_task.c @@ -599,6 +599,9 @@ 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; }