distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
Stack class implementation. More...
#include "distortos/internal/scheduler/Stack.hpp"
#include "distortos/architecture/initializeStack.hpp"
#include "distortos/internal/memory/dummyDeleter.hpp"
#include <algorithm>
Namespaces | |
distortos | |
Top-level namespace of distortos project. | |
distortos::internal | |
Internals of distortos project - should not be used directly! | |
Functions | |
void * | distortos::internal::anonymous_namespace{Stack.cpp}::adjustStorage (void *const storage, const size_t alignment) |
Adjusts storage's address to suit architecture's alignment requirements. More... | |
size_t | distortos::internal::anonymous_namespace{Stack.cpp}::adjustSize (void *const storage, const size_t size, void *const adjustedStorage, const size_t alignment) |
Adjusts storage's size to suit architecture's alignment requirements. More... | |
Variables | |
constexpr size_t | distortos::internal::anonymous_namespace{Stack.cpp}::stackAlignment {DISTORTOS_ARCHITECTURE_STACK_ALIGNMENT} |
alignment of stack, bytes More... | |
constexpr uint32_t | distortos::internal::anonymous_namespace{Stack.cpp}::stackSentinel {0xed419f25} |
sentinel used for stack usage/overflow detection More... | |
Stack class implementation.