/kernel/uniproton/src/om/cpup/ |
D | prt_cpup_thread_internal.h | 39 #define OS_CPUP_PTR(taskId) (&g_cpup[TSK_GET_INDEX((taskId))]) argument 41 #define OS_TASK_CYCLE_START(taskId, curCycle) (OS_CPUP_PTR(taskId)->startTime = (curCycle)) argument 43 #define OS_TASK_CYCLE_END(taskId, curCycle) \ argument 44 (OS_CPUP_PTR(taskId)->allTime += ((curCycle) - OS_CPUP_PTR(taskId)->startTime))
|
/kernel/liteos_m/components/trace/ |
D | los_trace.h | 314 #define TASK_SWITCH_PARAMS(taskId, oldPriority, oldTaskStatus, newPriority, newTaskStatus) \ argument 315 taskId, oldPriority, oldTaskStatus, newPriority, newTaskStatus 316 #define TASK_PRIOSET_PARAMS(taskId, taskStatus, oldPrio, newPrio) taskId, taskStatus, oldPrio, newP… argument 317 #define TASK_CREATE_PARAMS(taskId, taskStatus, prio) taskId, taskStatus, prio argument 318 #define TASK_DELETE_PARAMS(taskId, taskStatus, usrStack) taskId, taskStatus, usrStack argument 319 #define TASK_SUSPEND_PARAMS(taskId, taskStatus, runTaskId) taskId, taskStatus, runTaskId argument 320 #define TASK_RESUME_PARAMS(taskId, taskStatus, prio) taskId, taskStatus, prio argument 321 #define TASK_SIGNAL_PARAMS(taskId, signal, schedFlag) // taskId, signal, schedFlag argument
|
D | trace_online.c | 36 UINT32 OsTraceGetMaskTid(UINT32 taskId) in OsTraceGetMaskTid() argument 38 return taskId; in OsTraceGetMaskTid() 84 VOID OsTraceObjAdd(UINT32 eventType, UINT32 taskId) in OsTraceObjAdd() argument 87 OsTraceSendObj(OS_TCB_FROM_TID(taskId)); in OsTraceObjAdd()
|
D | trace_offline.c | 84 VOID OsTraceObjAdd(UINT32 eventType, UINT32 taskId) in OsTraceObjAdd() argument 99 if (taskId < LOSCFG_BASE_CORE_TSK_LIMIT) { in OsTraceObjAdd() 100 g_tidMask[taskId]++; in OsTraceObjAdd() 103 OsTraceSetObj(obj, OS_TCB_FROM_TID(taskId)); in OsTraceObjAdd()
|
D | los_trace_pri.h | 123 extern UINT32 OsTraceGetMaskTid(UINT32 taskId); 126 extern VOID OsTraceObjAdd(UINT32 eventType, UINT32 taskId);
|
/kernel/uniproton/src/core/kernel/task/ |
D | prt_task_init.c | 64 OS_SEC_L4_TEXT U32 OsTaskNameAdd(U32 taskId, const char *name) in OsTaskNameAdd() argument 66 struct TagTskCb *taskCb = GET_TCB_HANDLE(taskId); in OsTaskNameAdd() 75 OS_SEC_L4_TEXT void OsTaskNameGet(U32 taskId, char **taskName) in OsTaskNameGet() argument 77 struct TagTskCb *taskCb = GET_TCB_HANDLE(taskId); in OsTaskNameGet() 149 OS_SEC_L4_TEXT void OsTskEntry(TskHandle taskId) in OsTskEntry() argument 154 (void)taskId; in OsTskEntry() 265 OS_SEC_ALW_INLINE INLINE U32 OsTaskCreateRsrcInit(U32 taskId, struct TskInitParam *initParam, struc… in OsTaskCreateRsrcInit() argument 273 ret = g_taskNameAdd(taskId, initParam->name); in OsTaskCreateRsrcInit() 332 U32 taskId; in OsTaskCreateOnly() local 350 taskId = taskCb->taskPid; in OsTaskCreateOnly() [all …]
|
D | prt_task_sem.c | 22 OS_SEC_L4_TEXT U32 PRT_TaskGetPendSem(TskHandle taskId, U16 *semId, U16 *pendState) in PRT_TaskGetPendSem() argument 33 if (CHECK_TSK_PID_OVERFLOW(taskId)) { in PRT_TaskGetPendSem() 37 taskCb = GET_TCB_HANDLE(taskId); in PRT_TaskGetPendSem()
|
D | prt_task_info.c | 186 OS_SEC_L4_TEXT U32 PRT_TaskGetName(TskHandle taskId, char **name) in PRT_TaskGetName() argument 191 if (CHECK_TSK_PID_OVERFLOW(taskId)) { in PRT_TaskGetName() 199 taskCb = GET_TCB_HANDLE(taskId); in PRT_TaskGetName() 209 g_taskNameGet(taskId, name); in PRT_TaskGetName()
|
/kernel/liteos_m/components/shell/src/cmds/ |
D | task_shellcmd.c | 38 LITE_OS_SEC_TEXT_MINOR UINT32 OsShellCmdTskInfoGet(UINT32 taskId) in OsShellCmdTskInfoGet() argument 40 if (taskId == OS_ALL_TASK_MASK) { in OsShellCmdTskInfoGet() 49 size_t taskId = OS_ALL_TASK_MASK; in OsShellCmdDumpTask() local 52 return OsShellCmdTskInfoGet((UINT32)taskId); in OsShellCmdDumpTask()
|
/kernel/liteos_a/kernel/include/ |
D | los_trace.h | 341 #define TASK_SWITCH_PARAMS(taskId, oldPriority, oldTaskStatus, newPriority, newTaskStatus) \ argument 342 taskId, oldPriority, oldTaskStatus, newPriority, newTaskStatus 343 #define TASK_PRIOSET_PARAMS(taskId, taskStatus, oldPrio, newPrio) taskId, taskStatus, oldPrio, newP… argument 344 #define TASK_CREATE_PARAMS(taskId, taskStatus, prio) taskId, taskStatus, prio argument 345 #define TASK_DELETE_PARAMS(taskId, taskStatus, usrStack) taskId, taskStatus, usrStack argument 346 #define TASK_SUSPEND_PARAMS(taskId, taskStatus, runTaskId) taskId, taskStatus, runTaskId argument 347 #define TASK_RESUME_PARAMS(taskId, taskStatus, prio) taskId, taskStatus, prio argument 348 #define TASK_SIGNAL_PARAMS(taskId, signal, schedFlag) // taskId, signal, schedFlag argument
|
/kernel/uniproton/src/core/kernel/include/ |
D | prt_task_external.h | 107 typedef void (*TaskNameGetFunc)(U32 taskId, char **taskName); 108 typedef U32 (*TaskNameAddFunc)(U32 taskId, const char *name); 144 #define TSK_GET_INDEX(taskId) ((taskId) - g_tskBaseId) argument 150 #define CHECK_TSK_PID_OVERFLOW(taskId) (TSK_GET_INDEX(taskId) >= (g_tskMaxNum + 1)) argument 182 extern void OsTskEntry(TskHandle taskId);
|
/kernel/liteos_a/kernel/extended/trace/ |
D | trace_online.c | 35 UINT32 OsTraceGetMaskTid(UINT32 taskId) in OsTraceGetMaskTid() argument 37 return taskId; in OsTraceGetMaskTid() 83 VOID OsTraceObjAdd(UINT32 eventType, UINT32 taskId) in OsTraceObjAdd() argument 86 OsTraceSendObj(OS_TCB_FROM_TID(taskId)); in OsTraceObjAdd()
|
D | trace_offline.c | 82 VOID OsTraceObjAdd(UINT32 eventType, UINT32 taskId) in OsTraceObjAdd() argument 97 if (taskId < LOSCFG_BASE_CORE_TSK_LIMIT) { in OsTraceObjAdd() 98 g_tidMask[taskId]++; in OsTraceObjAdd() 101 OsTraceSetObj(obj, OS_TCB_FROM_TID(taskId)); in OsTraceObjAdd()
|
D | los_trace_pri.h | 120 extern UINT32 OsTraceGetMaskTid(UINT32 taskId); 123 extern VOID OsTraceObjAdd(UINT32 eventType, UINT32 taskId);
|
/kernel/liteos_m/testsuites/sample/kernel/atomic/ |
D | it_los_atomic_007.c | 49 UINT32 taskId[ATOMIC_MUTI_TASK_NUM]; in TestCase() local 70 ret = LOS_TaskCreate(&taskId[i], &task[i]); in TestCase() 79 (VOID)LOS_TaskDelete(taskId[i]); in TestCase()
|
D | it_los_atomic_008.c | 50 UINT32 taskId[ATOMIC_MUTI_TASK_NUM]; in TestCase() local 71 ret = LOS_TaskCreate(&taskId[i], &task[i]); in TestCase() 81 (VOID)LOS_TaskDelete(taskId[i]); in TestCase()
|
D | it_los_atomic_009.c | 60 UINT32 taskId[DB_ATOMIC_MUTI_TASK_NUM]; in TestCase() local 91 ret = LOS_TaskCreate(&taskId[i], &task[i]); in TestCase() 100 (VOID)LOS_TaskDelete(taskId[i]); in TestCase()
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/ |
D | prt_port.c | 20 OS_SEC_L4_TEXT void *OsTskContextInit(U32 taskId, U32 stackSize, uintptr_t *topStack, uintptr_t fun… in OsTskContextInit() argument 40 context->r0 = taskId; in OsTskContextInit()
|
/kernel/uniproton/src/core/ipc/event/ |
D | prt_event.c | 162 OS_SEC_L4_TEXT U32 PRT_EventWrite(U32 taskId, U32 events) in PRT_EventWrite() argument 170 if (CHECK_TSK_PID_OVERFLOW(taskId)) { in PRT_EventWrite() 179 taskCb = (struct TagTskCb *)GET_TCB_HANDLE(taskId); in PRT_EventWrite()
|
/kernel/uniproton/doc/ |
D | getting_started.md | 49 TskHandle taskId; 58 ret = PRT_TaskCreate(&taskId, &taskParam);
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | sys_arch.c | 44 TskHandle taskId = OS_ERRNO_TSK_ID_INVALID; in sys_thread_new() local 59 ret = PRT_TaskCreate(&taskId, &task); in sys_thread_new() 65 ret = PRT_TaskResume(taskId); in sys_thread_new() 70 return taskId; in sys_thread_new()
|
/kernel/uniproton/doc/design/ |
D | interface_description.md | 375 U32 PRT_EventWrite(U32 taskId, U32 events) 377 写任务ID为taskId的指定事件,可以一次性写多个事件,可以在UniProton接管的中断中调用。 382 taskId [IN] 类型#U32,任务ID,表示要对某个任务进行写事件操作。 896 U32 PRT_TaskGetPendSem(TskHandle taskId, U16 *semId, U16 *pendState) 903 taskId [IN] 类型#TskHandle,任务PID。 911 U32 PRT_TaskGetName(TskHandle taskId, char **name) 918 taskId [IN] 类型#TskHandle,任务ID。
|
/kernel/uniproton/src/arch/include/ |
D | prt_cpu_external.h | 30 extern void *OsTskContextInit(U32 taskId, U32 stackSize, uintptr_t *topStack, uintptr_t funcTskEntr…
|
/kernel/uniproton/src/include/uapi/ |
D | prt_event.h | 192 extern U32 PRT_EventWrite(U32 taskId, U32 events);
|
D | prt_task.h | 1267 extern U32 PRT_TaskGetPendSem(TskHandle taskId, U16 *semId, U16 *pendState); 1291 extern U32 PRT_TaskGetName(TskHandle taskId, char **name);
|