Searched refs:s_osaState (Results 1 – 3 of 3) sorted by relevance
103 static osa_state_t s_osaState = {0}; variable199 list_element = LIST_GetHead(&s_osaState.taskList); in OSA_TaskGetCurrentHandle()287 (void)LIST_AddTail(&s_osaState.taskList, (list_element_handle_t) & (ptask->link)); in OSA_TaskCreate()1006 if (1 == s_osaState.basePriorityNesting) in OSA_InterruptEnable()1008 portCLEAR_INTERRUPT_MASK_FROM_ISR(s_osaState.basePriority); in OSA_InterruptEnable()1011 if (s_osaState.basePriorityNesting > 0) in OSA_InterruptEnable()1013 s_osaState.basePriorityNesting--; in OSA_InterruptEnable()1032 if (0 == s_osaState.basePriorityNesting) in OSA_InterruptDisable()1034 s_osaState.basePriority = portSET_INTERRUPT_MASK_FROM_ISR(); in OSA_InterruptDisable()1036 s_osaState.basePriorityNesting++; in OSA_InterruptDisable()[all …]
179 static osa_state_t s_osaState; variable233 if (s_osaState.interruptDisableCount > 0U) in OSA_EnableIRQGlobal()235 s_osaState.interruptDisableCount--; in OSA_EnableIRQGlobal()237 if (0U == s_osaState.interruptDisableCount) in OSA_EnableIRQGlobal()239 EnableGlobalIRQ(s_osaState.interruptRegPrimask); in OSA_EnableIRQGlobal()255 if (0U == s_osaState.interruptDisableCount) in OSA_DisableIRQGlobal()257 s_osaState.interruptRegPrimask = DisableGlobalIRQ(); in OSA_DisableIRQGlobal()261 s_osaState.interruptDisableCount++; in OSA_DisableIRQGlobal()273 return (osa_task_handle_t)s_osaState.curTaskHandler; in OSA_TaskGetCurrentHandle()324 list_element = LIST_GetHead(&s_osaState.taskList); in OSA_TaskSetPriority()[all …]
100 static osa_state_t s_osaState = {0}; variable165 LIST_Init((&s_osaState.taskList), 0); in OSA_Init()166 s_osaState.basePriorityNesting = 0; in OSA_Init()167 s_osaState.interruptDisableCount = 0; in OSA_Init()270 (void)LIST_AddTail(&s_osaState.taskList, (list_element_handle_t) & (ptask->link)); in OSA_TaskCreate()799 if (1 == s_osaState.basePriorityNesting) in OSA_InterruptEnable()801 portCLEAR_INTERRUPT_MASK_FROM_ISR(s_osaState.basePriority); in OSA_InterruptEnable()804 if (s_osaState.basePriorityNesting > 0) in OSA_InterruptEnable()806 s_osaState.basePriorityNesting--; in OSA_InterruptEnable()827 if (0 == s_osaState.basePriorityNesting) in OSA_InterruptDisable()[all …]