Home
last modified time | relevance | path

Searched refs:taskParam (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/full/
DIt_los_mutex_042.c81 TSK_INIT_PARAM_S taskParam = {0}; in Testcase() local
96 taskParam.pfnTaskEntry = (TSK_ENTRY_FUNC)TaskMisc10Func; in Testcase()
97 taskParam.usTaskPrio = 10; // 10, set reasonable priority. in Testcase()
98 taskParam.pcName = "TaskMisc_10"; in Testcase()
99 taskParam.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in Testcase()
100 taskParam.uwResved = LOS_TASK_STATUS_DETACHED; in Testcase()
102 taskParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
105 ret = LOS_TaskCreate(&g_testTaskID01, &taskParam); in Testcase()
113 taskParam.pfnTaskEntry = (TSK_ENTRY_FUNC)TaskFe4Func; in Testcase()
114 taskParam.usTaskPrio = 4; // 4, set reasonable priority. in Testcase()
[all …]
DIt_los_mutex_043.c87 TSK_INIT_PARAM_S taskParam = { 0 }; in Testcase() local
116 taskParam.pfnTaskEntry = (TSK_ENTRY_FUNC)TaskMisc10Func; in Testcase()
117 taskParam.usTaskPrio = 10; // 10, set reasonable priority. in Testcase()
118 taskParam.pcName = "TaskMisc_10"; in Testcase()
119 taskParam.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in Testcase()
120 taskParam.uwResved = LOS_TASK_STATUS_DETACHED; in Testcase()
122 taskParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
125 ret = LOS_TaskCreate(&g_testTaskID01, &taskParam); in Testcase()
133 taskParam.pfnTaskEntry = (TSK_ENTRY_FUNC)TaskFe4Func; in Testcase()
134 taskParam.usTaskPrio = 4; // 4, set reasonable priority. in Testcase()
[all …]
DIt_los_mutex_041.c62 TSK_INIT_PARAM_S taskParam = {0}; in Testcase() local
76 taskParam.pfnTaskEntry = (TSK_ENTRY_FUNC)TaskMisc10Func; in Testcase()
77 taskParam.usTaskPrio = 10; // 10, set reasonable priority. in Testcase()
78 taskParam.pcName = "TaskMisc_10"; in Testcase()
79 taskParam.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in Testcase()
80 taskParam.uwResved = LOS_TASK_STATUS_DETACHED; in Testcase()
82 taskParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in Testcase()
85 ret = LOS_TaskCreate(&g_testTaskID01, &taskParam); in Testcase()
/kernel/uniproton/doc/
Dgetting_started.md50 struct TskInitParam taskParam;
52 taskParam.taskEntry = (TskEntryFunc)OsTskUser;
53 taskParam.stackSize = 0x800;
54 taskParam.name = "uniUserTask";
55 taskParam.taskPrio = OS_TSK_PRIORITY_05;
56 taskParam.stackAddr = 0;
58 ret = PRT_TaskCreate(&taskId, &taskParam);
/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_core.c431 TSK_INIT_PARAM_S taskParam; in OsBBoxDriverInit() local
452 (void)memset_s(&taskParam, sizeof(taskParam), 0, sizeof(taskParam)); in OsBBoxDriverInit()
453 taskParam.auwArgs[0] = (UINTPTR)LOSCFG_BLACKBOX_LOG_ROOT_PATH; in OsBBoxDriverInit()
454 taskParam.pfnTaskEntry = (TSK_ENTRY_FUNC)SaveErrorLog; in OsBBoxDriverInit()
455 taskParam.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE; in OsBBoxDriverInit()
456 taskParam.pcName = "SaveErrorLog"; in OsBBoxDriverInit()
457 taskParam.usTaskPrio = LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO; in OsBBoxDriverInit()
458 taskParam.uwResved = LOS_TASK_STATUS_DETACHED; in OsBBoxDriverInit()
460 taskParam.usCpuAffiMask = CPUID_TO_AFFI_MASK(ArchCurrCpuid()); in OsBBoxDriverInit()
462 (void)LOS_TaskCreate(&taskID, &taskParam); in OsBBoxDriverInit()
/kernel/liteos_a/kernel/base/core/
Dlos_process.c1940 TSK_INIT_PARAM_S *taskParam, SchedParam *param) in GetCopyTaskParam() argument
1947 taskParam->pfnTaskEntry = runTask->taskEntry; in GetCopyTaskParam()
1948 taskParam->uwStackSize = runTask->stackSize; in GetCopyTaskParam()
1949 taskParam->userParam.userArea = runTask->userArea; in GetCopyTaskParam()
1950 taskParam->userParam.userMapBase = runTask->userMapBase; in GetCopyTaskParam()
1951 taskParam->userParam.userMapSize = runTask->userMapSize; in GetCopyTaskParam()
1953 taskParam->pfnTaskEntry = (TSK_ENTRY_FUNC)entry; in GetCopyTaskParam()
1954 taskParam->uwStackSize = size; in GetCopyTaskParam()
1957 taskParam->uwResved = LOS_TASK_ATTR_JOINABLE; in GetCopyTaskParam()
1963 taskParam->policy = param->policy; in GetCopyTaskParam()
[all …]