Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / context / detail / fcontext_arm.hpp
index b4ed2fa..8b88ccf 100644 (file)
@@ -4,8 +4,10 @@
 //    (See accompanying file LICENSE_1_0.txt or copy at
 //          http://www.boost.org/LICENSE_1_0.txt)
 
-#ifndef BOOST_CTX_DETAIL_FCONTEXT_ARM_H
-#define BOOST_CTX_DETAIL_FCONTEXT_ARM_H
+#ifndef BOOST_CONTEXT_DETAIL_FCONTEXT_ARM_H
+#define BOOST_CONTEXT_DETAIL_FCONTEXT_ARM_H
+
+#include <cstddef>
 
 #include <boost/config.hpp>
 #include <boost/cstdint.hpp>
@@ -17,7 +19,7 @@
 #endif
 
 namespace boost {
-namespace ctx {
+namespace context {
 
 extern "C" {
 
@@ -25,11 +27,11 @@ extern "C" {
 
 struct stack_t
 {
-    void    *   base;
-    void    *   limit;
+    void    *   sp;
+    std::size_t size;
 
     stack_t() :
-        base( 0), limit( 0)
+        sp( 0), size( 0)
     {}
 };
 
@@ -63,4 +65,4 @@ struct fcontext_t
 # include BOOST_ABI_SUFFIX
 #endif
 
-#endif // BOOST_CTX_DETAIL_FCONTEXT_ARM_H
+#endif // BOOST_CONTEXT_DETAIL_FCONTEXT_ARM_H