R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_system.c File Reference
#include "MKL05Z4.h"
#include "PortFunc.h"
#include "TimerFunc.h"
#include "InterruptFunc.h"
#include "R_RTOS_system.h"
#include "R_RTOS_inc.h"
#include "R_RTOS_task.h"
#include "R_RTOS_stack.h"
#include "R_RTOS_scheduler.h"
#include "R_RTOS_mtx.h"
#include "R_RTOS_sem.h"
#include "R_RTOS_timer.h"
#include "R_RTOS_SysTickTMR.h"
#include "R_RTOS_memMngr.h"
#include "R_RTOS_services.h"
#include "R_RTOS_events.h"
#include "R_RTOS_monitor.h"
#include "R_RTOS_msgQueuing.h"

Functions

void updateTimersAfterSleep (void)
 Updates all used timers after a wake up. More...
 
RetCode __initOS (void)
 Initialize the operating system. More...
 
void tskIdle (void)
 IDLE Task, that must always be ready to run and must not finish execution. More...
 
void tsk_EndTheTask (void)
 Default function to be jumped to after a task finished its execution. More...
 
RetCode SVC_HandlerMain (uint32_t *svc_args)
 Is called by the SVC Exception. More...
 

Variables

PTskTCB const pIDLETsk
 Constant pointer to the IDLE Task's tskTCB. More...
 
volatile PTskTCB p_cur_tsk_tcb
 Pointer to currently running task's tskTCB. More...
 
volatile PTskTCB p_nxt_tsk_tcb
 Pointer to task's tskTCB, which is scheduled to run next. More...
 
volatile BitsOSFlags gOS_FLAGS
 Flags used for maintaining the OS. More...
 
const uint8_t offsetOfTskState = OFFSETOF( TskTCB, tskState )
 Offset of the TskState property inside a TskTCB. More...
 
SysFkt sys_SysFkt [AMOUNT_SYS_FKT]
 System function array to hold various kinds of system functions. System functions can be referenced by their index in this array.
 
volatile uint32_t svc_EXCReturn
 EXC_RETURN value for the SVC Call. More...
 

Detailed Description