distortos  v0.6.0
object-oriented C++ RTOS for microcontrollers
initializeStack.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_ARCHITECTURE_INITIALIZESTACK_HPP_
13 #define INCLUDE_DISTORTOS_ARCHITECTURE_INITIALIZESTACK_HPP_
14 
15 #include <utility>
16 
17 #include <cstddef>
18 
19 namespace distortos
20 {
21 
22 namespace internal
23 {
24 
25 class RunnableThread;
26 
27 } // namespace internal
28 
29 namespace architecture
30 {
31 
49 std::pair<int, void*> initializeStack(void* buffer, size_t size, internal::RunnableThread& runnableThread);
50 
51 } // namespace architecture
52 
53 } // namespace distortos
54 
55 #endif // INCLUDE_DISTORTOS_ARCHITECTURE_INITIALIZESTACK_HPP_
std::pair< int, void * > initializeStack(void *buffer, size_t size, internal::RunnableThread &runnableThread)
Architecture-specific stack initialization.
Definition: ARMv6-M-ARMv7-M-initializeStack.cpp:30
Top-level namespace of distortos project.