Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/context/detail/fcontext_x86_64_win.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 |
Chris@16 | 2 // Copyright Oliver Kowalke 2009. |
Chris@16 | 3 // Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 4 // (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 5 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 |
Chris@16 | 7 #ifndef BOOST_CONTEXT_DETAIL_FCONTEXT_X86_64_H |
Chris@16 | 8 #define BOOST_CONTEXT_DETAIL_FCONTEXT_X86_64_H |
Chris@16 | 9 |
Chris@16 | 10 #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
Chris@16 | 11 # pragma once |
Chris@16 | 12 #endif |
Chris@16 | 13 |
Chris@16 | 14 #include <cstddef> |
Chris@16 | 15 |
Chris@16 | 16 #include <boost/config.hpp> |
Chris@16 | 17 #include <boost/cstdint.hpp> |
Chris@16 | 18 |
Chris@16 | 19 #include <boost/context/detail/config.hpp> |
Chris@16 | 20 |
Chris@16 | 21 #if defined(BOOST_MSVC) |
Chris@16 | 22 #pragma warning(push) |
Chris@16 | 23 #pragma warning(disable:4351) |
Chris@16 | 24 #endif |
Chris@16 | 25 |
Chris@16 | 26 #ifdef BOOST_HAS_ABI_HEADERS |
Chris@16 | 27 # include BOOST_ABI_PREFIX |
Chris@16 | 28 #endif |
Chris@16 | 29 |
Chris@16 | 30 namespace boost { |
Chris@16 | 31 namespace context { |
Chris@16 | 32 |
Chris@16 | 33 extern "C" { |
Chris@16 | 34 |
Chris@16 | 35 #define BOOST_CONTEXT_CALLDECL |
Chris@16 | 36 |
Chris@16 | 37 struct stack_t |
Chris@16 | 38 { |
Chris@16 | 39 void * sp; |
Chris@16 | 40 std::size_t size; |
Chris@16 | 41 void * limit; |
Chris@16 | 42 |
Chris@16 | 43 stack_t() : |
Chris@16 | 44 sp( 0), size( 0), limit( 0) |
Chris@16 | 45 {} |
Chris@16 | 46 }; |
Chris@16 | 47 |
Chris@16 | 48 struct fcontext_t |
Chris@16 | 49 { |
Chris@16 | 50 boost::uint64_t fc_greg[10]; |
Chris@16 | 51 stack_t fc_stack; |
Chris@16 | 52 void * fc_local_storage; |
Chris@16 | 53 boost::uint64_t fc_fp[24]; |
Chris@16 | 54 boost::uint64_t fc_dealloc; |
Chris@16 | 55 |
Chris@16 | 56 fcontext_t() : |
Chris@16 | 57 fc_greg(), |
Chris@16 | 58 fc_stack(), |
Chris@16 | 59 fc_local_storage( 0), |
Chris@16 | 60 fc_fp(), |
Chris@16 | 61 fc_dealloc() |
Chris@16 | 62 {} |
Chris@16 | 63 }; |
Chris@16 | 64 |
Chris@16 | 65 } |
Chris@16 | 66 |
Chris@16 | 67 }} |
Chris@16 | 68 |
Chris@16 | 69 #ifdef BOOST_HAS_ABI_HEADERS |
Chris@16 | 70 # include BOOST_ABI_SUFFIX |
Chris@16 | 71 #endif |
Chris@16 | 72 |
Chris@16 | 73 #if defined(BOOST_MSVC) |
Chris@16 | 74 #pragma warning(pop) |
Chris@16 | 75 #endif |
Chris@16 | 76 |
Chris@16 | 77 #endif // BOOST_CONTEXT_DETAIL_FCONTEXT_X86_64_H |