distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::anonymous_namespace{ARMv6-M-ARMv7-M-PendSV_Handler.cpp} Namespace Reference

Functions

void checkStackPointerWrapper (const void *const stackPointer)
 Wrapper for check of stack pointer range. More...
 
void * schedulerSwitchContextWrapper (void *const stackPointer)
 Wrapper for void* distortos::internal::getScheduler().switchContext(void*) More...
 

Function Documentation

◆ checkStackPointerWrapper()

void distortos::anonymous_namespace{ARMv6-M-ARMv7-M-PendSV_Handler.cpp}::checkStackPointerWrapper ( const void *const  stackPointer)

Wrapper for check of stack pointer range.

If the check fails, FATAL_ERROR() is called.

Parameters
[in]stackPointeris the current thread's stack pointer value, including the frame which will be stacked
Here is the call graph for this function:

◆ schedulerSwitchContextWrapper()

void* distortos::anonymous_namespace{ARMv6-M-ARMv7-M-PendSV_Handler.cpp}::schedulerSwitchContextWrapper ( void *const  stackPointer)

Wrapper for void* distortos::internal::getScheduler().switchContext(void*)

Parameters
[in]stackPointeris the current value of current thread's stack pointer
Returns
new thread's stack pointer
Here is the call graph for this function: