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

Stack class implementation. More...

Include dependency graph for Stack.cpp:

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

Author
Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
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/.