distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::anonymous_namespace{MainThread.cpp} Namespace Reference

Functions

Stack stackWrapper (const std::pair< void *, size_t > stackBuffer)
 Wrapper for Stack's constructor. More...
 

Function Documentation

◆ stackWrapper()

Stack distortos::internal::anonymous_namespace{MainThread.cpp}::stackWrapper ( const std::pair< void *, size_t >  stackBuffer)

Wrapper for Stack's constructor.

Enables use of architecture::getMainStack() result to construct Stack.

Parameters
[in]stackBufferis a pair with beginning of stack and its size in bytes
Returns
constructed Stack object
Here is the caller graph for this function: