distortos  v0.5.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:


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


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

Copyright (C) 2014-2017 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/.