1+ // / @copyright
2+ // / Copyright (C) 2020 Assured Information Security, Inc.
3+ // /
4+ // / @copyright
5+ // / Permission is hereby granted, free of charge, to any person obtaining a copy
6+ // / of this software and associated documentation files (the "Software"), to deal
7+ // / in the Software without restriction, including without limitation the rights
8+ // / to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+ // / copies of the Software, and to permit persons to whom the Software is
10+ // / furnished to do so, subject to the following conditions:
11+ // /
12+ // / @copyright
13+ // / The above copyright notice and this permission notice shall be included in
14+ // / all copies or substantial portions of the Software.
15+ // /
16+ // / @copyright
17+ // / THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+ // / IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+ // / FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+ // / AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+ // / LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+ // / OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+ // / SOFTWARE.
24+
25+ #ifndef KVM_MP_STATE_HPP
26+ #define KVM_MP_STATE_HPP
27+
28+ #include < bsl/cstdint.hpp>
29+
30+ #pragma pack(push, 1)
31+
32+ namespace shim
33+ {
34+ // / @struct kvm_mp_state
35+ // /
36+ // / <!-- description -->
37+ // / @brief see /include/uapi/linux/kvm.h in Linux for more details.
38+ // /
39+ struct kvm_mp_state final
40+ {
41+ // / @brief stores that value of the mp_state
42+ bsl::uint32 mp_state;
43+ };
44+ }
45+
46+ #pragma pack(pop)
47+
48+ #endif
0 commit comments