feat: 支持调度框架
Close #I4Z3BL Signed-off-by: zhushengle <zhushengle@huawei.com> Change-Id: I5f32d1001ffabc0f725ce65b51ed9b3791e97f2b
This commit is contained in:
@@ -97,7 +97,7 @@ static UINT32 Testcase(void)
|
||||
ICUNIT_GOTO_NOT_EQUAL((ret & OS_TASK_STATUS_READY), 0, ret, EXIT);
|
||||
|
||||
/* check if other core is Task_locked */
|
||||
gTestTaskLock = OsSchedRunQueByID((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM))->taskLockCnt;
|
||||
gTestTaskLock = OsSchedRunqueueByID((ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM))->taskLockCnt;
|
||||
ICUNIT_ASSERT_NOT_EQUAL(gTestTaskLock, 0, gTestTaskLock);
|
||||
|
||||
ret = LOS_TaskSuspend(g_testTaskID02);
|
||||
|
||||
@@ -44,7 +44,7 @@ static void HwiF01(void)
|
||||
UINT32 gTestSwtmrTaskID;
|
||||
UINT32 cpuid = (ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM);
|
||||
|
||||
gTestIdleTaskID = OsSchedRunQueByID(cpuid)->idleTaskID;
|
||||
gTestIdleTaskID = OsSchedRunqueueByID(cpuid)->idleTaskID;
|
||||
|
||||
ret = LOS_TaskDelete(gTestIdleTaskID);
|
||||
ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_ERRNO_TSK_YIELD_IN_INT, ret);
|
||||
|
||||
Reference in New Issue
Block a user