Home
last modified time | relevance | path

Searched refs:UNI_FLAG (Results 1 – 16 of 16) sorted by relevance

/kernel/uniproton/src/arch/cpu/armv7-m/common/hwi/
Dprt_vi_dispatch.c23 UNI_FLAG |= OS_FLG_TICK_ACTIVE; in OsTickBh()
32 UNI_FLAG &= ~OS_FLG_TICK_ACTIVE; in OsTickBh()
39 if ((UNI_FLAG & OS_FLG_TICK_ACTIVE) != 0) { in OsViDispatch()
Dprt_hwi.c87 UNI_FLAG |= OS_FLG_HWI_ACTIVE; in OsInterrupt()
109 UNI_FLAG &= ~OS_FLG_HWI_ACTIVE; in OsInterrupt()
115 if ((UNI_FLAG & OS_FLG_TSK_REQ) != 0) { in OsInterrupt()
/kernel/uniproton/src/arch/cpu/armv7-m/common/exc/
Dprt_exc.c46 if ((OsTskMaxNumGet() > 0) && ((UNI_FLAG & OS_FLG_BGD_ACTIVE) != 0)) { in OsExcGetThreadInfo()
60 } else if ((UNI_FLAG & OS_FLG_TICK_ACTIVE) != 0) { in OsExcGetThreadInfo()
62 } else if ((UNI_FLAG & OS_FLG_SYS_ACTIVE) != 0) { in OsExcGetThreadInfo()
64 } else if ((UNI_FLAG & OS_FLG_BGD_ACTIVE) != 0) { in OsExcGetThreadInfo()
160 UNI_FLAG |= OS_FLG_HWI_ACTIVE; in OsExcHandleEntryM4()
/kernel/uniproton/src/core/kernel/include/
Dprt_sys_external.h31 #define OS_INT_ACTIVE ((UNI_FLAG & OS_INT_ACTIVE_MASK) != 0)
34 #define OS_HWI_ACTIVE ((UNI_FLAG & OS_HWI_ACTIVE_MASK) != 0)
70 #define UNI_FLAG g_uniFlag macro
/kernel/uniproton/src/core/kernel/task/
Dprt_amp_task.c32 UNI_FLAG |= OS_FLG_TSK_REQ; in OsTskSchedule()
51 UNI_FLAG |= OS_FLG_TSK_REQ; in OsTskScheduleFast()
70 UNI_FLAG |= OS_FLG_TSK_REQ; in OsTskScheduleFastPs()
Dprt_task_global.c35 UNI_FLAG |= OS_FLG_SYS_ACTIVE; in OsTskSwitchHookCaller()
37 UNI_FLAG &= ~OS_FLG_SYS_ACTIVE; in OsTskSwitchHookCaller()
Dprt_task_minor.c100 if (UNI_FLAG == 0) { in PRT_TaskDelay()
147 UNI_FLAG &= (~OS_FLG_TSK_REQ); in PRT_TaskLock()
164 if ((OS_FLG_BGD_ACTIVE & UNI_FLAG) != 0) { in PRT_TaskUnlock()
Dprt_task_init.c55 if ((g_tskMaxNum > 0) && ((UNI_FLAG & OS_FLG_BGD_ACTIVE) != 0)) { /* 任务存在时 */ in OsTskInfoGet()
104 UNI_FLAG |= OS_FLG_TSK_SWHK; in OsTskInit()
136 UNI_FLAG |= OS_FLG_BGD_ACTIVE | OS_FLG_TSK_REQ; in OsActivate()
Dprt_task_internal.h47 if ((OS_FLG_BGD_ACTIVE & UNI_FLAG) != 0) { in OsMoveTaskToReady()
Dprt_amp_task_del.c76 UNI_FLAG |= OS_FLG_TSK_REQ; in OsTaskDelete()
/kernel/uniproton/src/om/cpup/
Dprt_cpup_warn.c66 if ((UNI_FLAG & OS_FLG_BGD_ACTIVE) == 0) { in PRT_CpupSetWarnValue()
99 if ((UNI_FLAG & OS_FLG_BGD_ACTIVE) == 0) { in PRT_CpupGetWarnValue()
Dprt_cpup_thread.c68 if ((UNI_FLAG & OS_FLG_BGD_ACTIVE) == 0) { in OsCpupPreCheck()
Dprt_cpup_thread_64.c208 if ((UNI_FLAG & OS_FLG_BGD_ACTIVE) == 0) { in OsCpupThreadNow()
/kernel/uniproton/src/core/kernel/sys/
Dprt_sys_init.c47 UNI_FLAG = 0; in OsSysRegister()
Dprt_sys.c42 U32 uniFlag = UNI_FLAG; in OsCurThreadTypeNoIntLock()
/kernel/uniproton/src/mem/fsc/
Dprt_fscmem.c122 if ((UNI_FLAG & OS_FLG_BGD_ACTIVE) == 0) { in OsFscMemAlloc()
124 } else if ((UNI_FLAG & OS_FLG_HWI_ACTIVE) != 0) { in OsFscMemAlloc()