Global¶
- group Global_stackInit
stackInit globals
lorem
Macros¶
- group Macros_stackInit_h
Variables¶
- group Variables_stackInit_h
API’s¶
- group Apis_stackInit_h
Getters¶
- group Getters_stackInit_h
Setters¶
- group Setters_stackInit_h
General¶
- group General_stackInit_h
Functions
-
StackPointerType stackInit_schedulableStackInit(CosmOS_SchedulableConfigurationType *schedulable)¶
Schedulable stack initialization. This function cannot be called from the unprivileged context directly.
The implementation contains obtaining of the stack configuration structure by calling schedulable_getStack function and the handler of the schedulable by calling schedulable_getHandler function. The low and high stack addresses are needed for the stack initialization therefore are obtained by calling functions stack_getStackLowAddress and stack_getStackHighAddress. The stack initialization function CILstack_stackInit is called and the result is returned as stack pointer.
- Parameters
schedulable – [in] pointer to schedulable variable
- Returns
StackPointerType
-
StackPointerType stackInit_schedulableStackInit(CosmOS_SchedulableConfigurationType *schedulable)¶