Home
last modified time | relevance | path

Searched refs:maxNum (Results 1 – 9 of 9) sorted by relevance

/kernel/uniproton/src/om/cpup/
Dprt_cpup_thread_64.c94 U32 maxNum = 0; in OsCpupTask() local
95 cpup[maxNum].id = OS_CPUP_INT_ID; in OsCpupTask()
96 cpup[maxNum].usage = OsCpupIntGet(); in OsCpupTask()
97 maxNum++; in OsCpupTask()
100 if (intNum == maxNum) { in OsCpupTask()
109 cpup[maxNum].id = g_tskCbArray[index].taskPid; in OsCpupTask()
110 cpup[maxNum].usage = g_cpup[index].usage; in OsCpupTask()
112 maxNum++; in OsCpupTask()
114 return maxNum; in OsCpupTask()
250 U32 maxNum = 1; // 默认中断占用一个 in PRT_CpupThread() local
[all …]
/kernel/uniproton/src/arch/cpu/armv7-m/cortex-m4/
Dprt_cpu_m4_external.h53 OS_SEC_ALW_INLINE INLINE bool OsHwiCheckMaxNum(U32 maxNum) in OsHwiCheckMaxNum() argument
55 return ((maxNum > 0) && (maxNum <= OS_MX_IRQ_VECTOR_CNT)); in OsHwiCheckMaxNum()
/kernel/uniproton/src/config/
Dprt_config.c65 semModInfo.maxNum = OS_SEM_MAX_SUPPORT_NUM; in OsSemConfigReg()
74 taskModInfo->maxNum = OS_TSK_MAX_SUPPORT_NUM; in OsTaskInfoSet()
87 hookModInfo.maxNum[OS_HOOK_HWI_ENTRY] = OS_HOOK_HWI_ENTRY_NUM; in OsHookConfigReg()
88 hookModInfo.maxNum[OS_HOOK_HWI_EXIT] = OS_HOOK_HWI_EXIT_NUM; in OsHookConfigReg()
89 hookModInfo.maxNum[OS_HOOK_TSK_SWITCH] = OS_HOOK_TSK_SWITCH_NUM; in OsHookConfigReg()
90 hookModInfo.maxNum[OS_HOOK_IDLE_PERIOD] = OS_HOOK_IDLE_NUM; in OsHookConfigReg()
/kernel/uniproton/src/core/kernel/task/
Dprt_task_init.c31 if (((modInfo->maxNum) > (MAX_TASK_NUM)) || (modInfo->maxNum == 0)) { in OsTskRegister()
35 g_tskModInfo.maxNum = modInfo->maxNum; in OsTskRegister()
45 g_tskMaxNum = g_tskModInfo.maxNum; in OsTskRegister()
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem_init.c22 if (modInfo->maxNum == 0) { in OsSemRegister()
26 g_maxSem = modInfo->maxNum; in OsSemRegister()
/kernel/uniproton/src/include/uapi/
Dprt_hook.h105 U8 maxNum[(U32)OS_HOOK_TYPE_NUM]; member
Dprt_sem.h219 U16 maxNum; member
Dprt_task.h842 U32 maxNum; member
/kernel/uniproton/src/om/hook/
Dprt_hook_init.c37 g_hookCb[hookIndex].num += modInfo->maxNum[hookIndex]; in OsHookRegister()