!49 【轻量级 PR】:No idle PCB debug
Merge pull request !49 from zhangfanfan2/N/A
This commit is contained in:
commit
bafa57fdbc
|
@ -610,7 +610,7 @@ STATIC LosProcessCB *OsGetFreePCB(VOID)
|
||||||
if (LOS_ListEmpty(&g_freeProcess)) {
|
if (LOS_ListEmpty(&g_freeProcess)) {
|
||||||
SCHEDULER_UNLOCK(intSave);
|
SCHEDULER_UNLOCK(intSave);
|
||||||
PRINT_ERR("No idle PCB in the system!\n");
|
PRINT_ERR("No idle PCB in the system!\n");
|
||||||
LOS_Panic("**************error***************\n");
|
__asm__ __volatile__("swi 0");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue