distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
Stack.cpp File Reference

Stack class implementation. More...

Include dependency graph for Stack.cpp:


 Top-level namespace of distortos project.
 Internals of distortos project - should not be used directly!


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...


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...

Detailed Description

Stack class implementation.

Copyright (C) 2014-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.