]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/context/include/boost/context/detail/fcontext_arm_win.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / context / include / boost / context / detail / fcontext_arm_win.hpp
1
2 // Copyright Oliver Kowalke 2009.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6
7 #ifndef BOOST_CONTEXT_DETAIL_FCONTEXT_ARM_WIN_H
8 #define BOOST_CONTEXT_DETAIL_FCONTEXT_ARM_WIN_H
9
10 #include <cstddef>
11
12 #include <boost/config.hpp>
13 #include <boost/cstdint.hpp>
14
15 #include <boost/context/detail/config.hpp>
16
17 #ifdef BOOST_HAS_ABI_HEADERS
18 # include BOOST_ABI_PREFIX
19 #endif
20
21 namespace boost {
22 namespace context {
23
24 extern "C" {
25
26 #define BOOST_CONTEXT_CALLDECL
27
28 struct stack_t
29 {
30 void * sp;
31 std::size_t size;
32 void * limit;
33
34 stack_t() :
35 sp( 0), size( 0), limit( 0)
36 {}
37 };
38
39 struct fp_t
40 {
41 boost::uint32_t fc_freg[16];
42
43 fp_t() :
44 fc_freg()
45 {}
46 };
47
48 struct fcontext_t
49 {
50 boost::uint32_t fc_greg[11];
51 stack_t fc_stack;
52 fp_t fc_fp;
53 boost::uint32_t fc_dealloc;
54
55 fcontext_t() :
56 fc_greg(),
57 fc_stack(),
58 fc_fp(),
59 fc_dealloc( 0)
60 {}
61 };
62
63 }
64
65 }}
66
67 #ifdef BOOST_HAS_ABI_HEADERS
68 # include BOOST_ABI_SUFFIX
69 #endif
70
71 #endif // BOOST_CONTEXT_DETAIL_FCONTEXT_ARM_WIN_H