No idle PCB debug

This commit is contained in:
zhangfanfan2
2020-12-25 09:59:11 +08:00
committed by Gitee
parent b5571e02e4
commit 5ed6f6598e

View File

@@ -610,7 +610,7 @@ STATIC LosProcessCB *OsGetFreePCB(VOID)
if (LOS_ListEmpty(&g_freeProcess)) {
SCHEDULER_UNLOCK(intSave);
PRINT_ERR("No idle PCB in the system!\n");
LOS_Panic("**************error***************\n");
__asm__ __volatile__("swi 0");
return NULL;
}