23 #ifndef VMCS_INTEL_X64_16BIT_GUEST_STATE_FIELDS_H 24 #define VMCS_INTEL_X64_16BIT_GUEST_STATE_FIELDS_H 43 namespace guest_es_selector
45 constexpr
const auto addr = 0x0000000000000800UL;
46 constexpr
const auto name =
"guest_es_selector";
57 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
60 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
66 constexpr
const auto mask = 0x00000003U;
67 constexpr
const auto from = 0;
68 constexpr
const auto name =
"rpl";
76 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
83 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
93 constexpr
const auto mask = 0x00000004U;
94 constexpr
const auto from = 2;
95 constexpr
const auto name =
"ti";
103 inline void set(
bool b)
118 constexpr
const auto mask = 0x0000FFF8U;
120 constexpr
const auto name =
"index";
128 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
135 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
144 namespace guest_cs_selector
146 constexpr
const auto addr = 0x0000000000000802UL;
147 constexpr
const auto name =
"guest_cs_selector";
158 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
161 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
167 constexpr
const auto mask = 0x00000003U;
169 constexpr
const auto name =
"rpl";
177 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
184 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
194 constexpr
const auto mask = 0x00000004U;
196 constexpr
const auto name =
"ti";
204 inline void set(
bool b)
219 constexpr
const auto mask = 0x0000FFF8U;
221 constexpr
const auto name =
"index";
229 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
236 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
245 namespace guest_ss_selector
247 constexpr
const auto addr = 0x0000000000000804UL;
248 constexpr
const auto name =
"guest_ss_selector";
259 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
262 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
268 constexpr
const auto mask = 0x00000003U;
270 constexpr
const auto name =
"rpl";
278 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
285 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
295 constexpr
const auto mask = 0x00000004U;
297 constexpr
const auto name =
"ti";
305 inline void set(
bool b)
320 constexpr
const auto mask = 0x0000FFF8U;
322 constexpr
const auto name =
"index";
330 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
337 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
346 namespace guest_ds_selector
348 constexpr
const auto addr = 0x0000000000000806UL;
349 constexpr
const auto name =
"guest_ds_selector";
360 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
363 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
369 constexpr
const auto mask = 0x00000003U;
371 constexpr
const auto name =
"rpl";
379 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
386 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
396 constexpr
const auto mask = 0x00000004U;
398 constexpr
const auto name =
"ti";
406 inline void set(
bool b)
421 constexpr
const auto mask = 0x0000FFF8U;
423 constexpr
const auto name =
"index";
431 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
438 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
447 namespace guest_fs_selector
449 constexpr
const auto addr = 0x0000000000000808UL;
450 constexpr
const auto name =
"guest_fs_selector";
461 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
464 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
470 constexpr
const auto mask = 0x00000003U;
472 constexpr
const auto name =
"rpl";
480 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
487 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
497 constexpr
const auto mask = 0x00000004U;
499 constexpr
const auto name =
"ti";
507 inline void set(
bool b)
522 constexpr
const auto mask = 0x0000FFF8U;
524 constexpr
const auto name =
"index";
532 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
539 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
548 namespace guest_gs_selector
550 constexpr
const auto addr = 0x000000000000080AUL;
551 constexpr
const auto name =
"guest_gs_selector";
562 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
565 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
571 constexpr
const auto mask = 0x00000003U;
573 constexpr
const auto name =
"rpl";
581 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
588 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
598 constexpr
const auto mask = 0x00000004U;
600 constexpr
const auto name =
"ti";
608 inline void set(
bool b)
623 constexpr
const auto mask = 0x0000FFF8U;
625 constexpr
const auto name =
"index";
633 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
640 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
649 namespace guest_ldtr_selector
651 constexpr
const auto addr = 0x000000000000080CUL;
652 constexpr
const auto name =
"guest_ldtr_selector";
663 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
666 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
672 constexpr
const auto mask = 0x00000003U;
674 constexpr
const auto name =
"rpl";
682 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
689 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
699 constexpr
const auto mask = 0x00000004U;
701 constexpr
const auto name =
"ti";
709 inline void set(
bool b)
724 constexpr
const auto mask = 0x0000FFF8U;
726 constexpr
const auto name =
"index";
734 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
741 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
750 namespace guest_tr_selector
752 constexpr
const auto addr = 0x000000000000080EUL;
753 constexpr
const auto name =
"guest_tr_selector";
764 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
767 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
773 constexpr
const auto mask = 0x00000003U;
775 constexpr
const auto name =
"rpl";
783 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
790 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
800 constexpr
const auto mask = 0x00000004U;
802 constexpr
const auto name =
"ti";
810 inline void set(
bool b)
825 constexpr
const auto mask = 0x0000FFF8U;
827 constexpr
const auto name =
"index";
835 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
842 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
851 namespace guest_interrupt_status
853 constexpr
const auto addr = 0x0000000000000810UL;
854 constexpr
const auto name =
"guest_interrupt_status";
868 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
871 template<class T, class = typename std::enable_if<std::is_integral<T>::value>
::type>
constexpr const auto addr
constexpr const auto from
auto get_vmcs_field_if_exists(T addr, const char *name, bool verbose, bool exists)
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto mask
constexpr const auto mask
void set_if_exists(T val, bool verbose=false) noexcept
auto is_allowed1() noexcept
constexpr const auto addr
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
void set_if_exists(bool b, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto mask
constexpr const auto from
constexpr const auto from
constexpr const auto name
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto name
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(bool b, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto from
void set_if_exists(bool b, bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto addr
constexpr const auto from
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto name
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto mask
constexpr const auto addr
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(bool b, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto mask
constexpr const auto from
constexpr const auto mask
constexpr const auto addr
auto set_vmcs_field_if_exists(V val, A addr, const char *name, bool verbose, bool exists) noexcept
auto get_if_exists(bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto from
void set_if_exists(bool b, bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
void uint64_t uint64_t uint64_t *rdx noexcept
auto get_if_exists(bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto name
constexpr const auto name
auto index(const T virt, const F from)
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto addr
auto get_if_exists(bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto name
constexpr const auto from
constexpr const auto from
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto mask
void set_if_exists(bool b, bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto addr
auto get_if_exists(bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
constexpr const auto from
auto get_if_exists(bool verbose=false) noexcept
void set_if_exists(bool b, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto addr
constexpr const auto from
constexpr const auto mask
void set_if_exists(T val, bool verbose=false) noexcept
auto clear_bit(T t, B b) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
auto set_vmcs_field(V val, A addr, const char *name, bool exists)
constexpr const auto mask
auto set_bit(T t, B b) noexcept
constexpr const auto from
void set_if_exists(T val, bool verbose=false) noexcept
auto get_bits(T t, M m) noexcept
void set_if_exists(T val, bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
constexpr const auto from
auto get_if_exists(bool verbose=false) noexcept
auto get_if_exists(bool verbose=false) noexcept
auto get_vmcs_field(T addr, const char *name, bool exists)
void set_if_exists(bool b, bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto from
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto from
constexpr const auto from
constexpr const auto name
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
auto is_bit_set(T t, B b) noexcept
auto get_if_exists(bool verbose=false) noexcept
constexpr const auto addr
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
auto get_if_exists(bool verbose=false) noexcept
auto set_bits(T t, M m, V v) noexcept
auto get_if_exists(bool verbose=false) noexcept
auto is_allowed1() noexcept
constexpr const auto from
constexpr const auto name
constexpr const auto mask
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto from
constexpr const auto mask
void set_if_exists(T val, bool verbose=false) noexcept
constexpr const auto name