R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_stack.c File Reference
#include "R_RTOS_stack.h"
#include "R_RTOS_memMngr.h"

Macros

#define portINITIAL_XPSR   ( (uint32_t)0x01000000u )
 initial XPSR value for a task.
 

Functions

RetCode stk_StackCreate (register PTskTCB tsk, register StackSize desiredStackSize)
 Creates a stack for a task with the size of desiredStackSize. More...
 
RetCode stk_StackInit (register PTskTCB tsk, void *fktParam)
 Initializes the initial stack frame according to the given input parameters. More...
 
RetCode stk_StackDestroy (register PTskTCB tsk)
 Destroys the stack of the task indicated by the tsk input parameter. More...
 
RetCode stk_TSTStck (PTskTCB const tsk)
 fill the task's stack with a distinctive pattern. More...
 
RetCode stk_StackClear (PTskTCB const tsk)
 Clears the provided task's stack. More...
 

Detailed Description