Atmel Software Framework

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

Macros

#define OS_GLOBALS
 

Functions

static void OS_InitEventList (void)
 
static void OS_InitMisc (void)
 
static void OS_InitRdyList (void)
 
static void OS_InitTaskIdle (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)
 
void OS_TaskIdle (void *p_arg)
 
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 OSStart (void)
 
void OSTimeTick (void)
 
INT16U OSVersion (void)
 

Variables

INT8U const OSUnMapTbl [256]
 

#define OS_GLOBALS

static void OS_InitEventList ( void  )
static
static void OS_InitMisc ( void  )
static
static void OS_InitRdyList ( void  )
static
static void OS_InitTaskIdle ( void  )
static
static void OS_InitTCBList ( void  )
static
void OS_MemClr ( INT8U *  pdest,
INT16U  size 
)

Referenced by OS_InitEventList(), and OS_InitTCBList().

void OS_MemCopy ( INT8U *  pdest,
INT8U *  psrc,
INT16U  size 
)
void OS_Sched ( void  )
static void OS_SchedNew ( void  )
static

References OSPrioHighRdy, OSRdyGrp, OSRdyTbl, OSUnMapTbl, and y.

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

void OS_TaskIdle ( void *  p_arg)

References OSIdleCtr, and OSTaskIdleHook().

Referenced by OS_InitTaskIdle().

void OSIntEnter ( void  )

References OS_TRUE, OSIntNesting, and OSRunning.

void OSStart ( 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_SchedNew().