distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
ARMv6-M-ARMv7-M-initializeStack.cpp File Reference

initializeStack() implementation for ARMv6-M and ARMv7-M More...

Include dependency graph for ARMv6-M-ARMv7-M-initializeStack.cpp:

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::architecture
 Architecture-related code of distortos project.
 

Functions

std::pair< int, void * > distortos::architecture::initializeStack (void *buffer, size_t size, Thread &thread, void(&run)(Thread &), void(*preTerminationHook)(Thread &), void(&terminationHook)(Thread &))
 Architecture-specific stack initialization. More...
 

Detailed Description

initializeStack() implementation for ARMv6-M and ARMv7-M

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