Microchip® Advanced Software Framework

os_core.c File Reference
#include <ucos_ii.h>

Macros

#define OS_GLOBALS
 

Functions

void OS_Dummy (void)
 
INT8U OS_EventTaskRdy (OS_EVENT *pevent, void *pmsg, INT8U msk, INT8U pend_stat)
 
void OS_EventTaskRemove (OS_TCB *ptcb, OS_EVENT *pevent)
 
void OS_EventTaskWait (OS_EVENT *pevent)
 
void OS_EventWaitListInit (OS_EVENT *pevent)
 
static void OS_InitEventList (void)
 
static void OS_InitMisc (void)
 
static void OS_InitRdyList (void)
 
static void OS_InitTaskIdle (void)
 
static void OS_InitTaskStat (void)
 
static void OS_InitTCBList (void)
 
void OS_MemClr (INT8U *pdest, INT16U size)
 
void OS_MemCopy (INT8U *pdest, INT8U *psrc, INT16U size)
 
void OS_Sched (void)
 
static void OS_SchedNew (void)
 
INT8U OS_StrCopy (INT8U *pdest, INT8U *psrc)
 
INT8U OS_StrLen (INT8U *psrc)
 
void OS_TaskIdle (void *p_arg)
 
void OS_TaskStat (void *p_arg)
 
void OS_TaskStatStkChk (void)
 
INT8U OS_TCBInit (INT8U prio, OS_STK *ptos, OS_STK *pbos, INT16U id, INT32U stk_size, void *pext, INT16U opt)
 
void OSInit (void)
 
void OSIntEnter (void)
 
void OSIntExit (void)
 
void OSSchedLock (void)
 
void OSSchedUnlock (void)
 
void OSStart (void)
 
void OSStatInit (void)
 
void OSTimeTick (void)
 
INT16U OSVersion (void)
 

Variables

INT8U const OSUnMapTbl [256]
 

#define OS_GLOBALS

void OS_Dummy ( void  )

Referenced by OSTaskDel().

void OS_EventTaskRemove ( OS_TCB ptcb,
OS_EVENT pevent 
)
void OS_EventWaitListInit ( OS_EVENT pevent)
static void OS_InitEventList ( void  )
static
static void OS_InitMisc ( void  )
static
static void OS_InitRdyList ( void  )
static
static void OS_InitTCBList ( void  )
static
void OS_MemClr ( INT8U *  pdest,
INT16U  size 
)
void OS_MemCopy ( INT8U *  pdest,
INT8U *  psrc,
INT16U  size 
)

Referenced by OSTaskQuery().

static void OS_SchedNew ( void  )
static

References OSPrioHighRdy, OSRdyGrp, OSRdyTbl, and OSUnMapTbl.

Referenced by OS_Sched(), OSIntExit(), and OSStart().

INT8U OS_StrCopy ( INT8U *  pdest,
INT8U *  psrc 
)

References OS_ASCII_NUL.

Referenced by OSMemNameGet(), OSMemNameSet(), and OSTmrCreate().

INT8U OS_StrLen ( INT8U *  psrc)

References OS_ASCII_NUL.

Referenced by OSMemNameSet(), and OSTmrCreate().

void OS_TaskIdle ( void *  p_arg)

References OSIdleCtr, and OSTaskIdleHook().

Referenced by OS_InitTaskIdle().

void OSIntEnter ( void  )

References OS_TRUE, OSIntNesting, and OSRunning.

void OSSchedLock ( void  )
void OSSchedUnlock ( void  )
void OSStart ( void  )
void OSStatInit ( void  )
INT16U OSVersion ( void  )

References OS_VERSION.

INT8U const OSUnMapTbl[256]
Initial value:
= {
0, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
6, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
7, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
6, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0
}

Referenced by OS_EventTaskRdy(), and OS_SchedNew().