distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
getMainStack.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_ARCHITECTURE_GETMAINSTACK_HPP_
13 #define INCLUDE_DISTORTOS_ARCHITECTURE_GETMAINSTACK_HPP_
14 
15 #include <utility>
16 
17 #include <cstddef>
18 
19 namespace distortos
20 {
21 
22 namespace architecture
23 {
24 
31 std::pair<void*, size_t> getMainStack();
32 
33 } // namespace architecture
34 
35 } // namespace distortos
36 
37 #endif // INCLUDE_DISTORTOS_ARCHITECTURE_GETMAINSTACK_HPP_
std::pair< void *, size_t > getMainStack()
Gets the stack used to run main().
Definition: ARMv6-M-ARMv7-M-getMainStack.cpp:35
Top-level namespace of distortos project.
Definition: buttons.hpp:33