Namespaces | Typedefs | Functions | Variables
srs_x64.h File Reference

Go to the source code of this file.

Namespaces

 x64
 
 x64::segment_register
 
 x64::segment_register::es
 
 x64::segment_register::es::rpl
 
 x64::segment_register::es::ti
 
 x64::segment_register::es::index
 
 x64::segment_register::cs
 
 x64::segment_register::cs::rpl
 
 x64::segment_register::cs::ti
 
 x64::segment_register::cs::index
 
 x64::segment_register::ss
 
 x64::segment_register::ss::rpl
 
 x64::segment_register::ss::ti
 
 x64::segment_register::ss::index
 
 x64::segment_register::ds
 
 x64::segment_register::ds::rpl
 
 x64::segment_register::ds::ti
 
 x64::segment_register::ds::index
 
 x64::segment_register::fs
 
 x64::segment_register::fs::rpl
 
 x64::segment_register::fs::ti
 
 x64::segment_register::fs::index
 
 x64::segment_register::gs
 
 x64::segment_register::gs::rpl
 
 x64::segment_register::gs::ti
 
 x64::segment_register::gs::index
 
 x64::segment_register::ldtr
 
 x64::segment_register::ldtr::rpl
 
 x64::segment_register::ldtr::ti
 
 x64::segment_register::ldtr::index
 
 x64::segment_register::tr
 
 x64::segment_register::tr::rpl
 
 x64::segment_register::tr::ti
 
 x64::segment_register::tr::index
 

Typedefs

using x64::segment_register::type = uint16_t
 

Functions

uint16_t __read_es (void) noexcept
 
void __write_es (uint16_t val) noexcept
 
uint16_t __read_cs (void) noexcept
 
void __write_cs (uint16_t val) noexcept
 
uint16_t __read_ss (void) noexcept
 
void __write_ss (uint16_t val) noexcept
 
uint16_t __read_ds (void) noexcept
 
void __write_ds (uint16_t val) noexcept
 
uint16_t __read_fs (void) noexcept
 
void __write_fs (uint16_t val) noexcept
 
uint16_t __read_gs (void) noexcept
 
void __write_gs (uint16_t val) noexcept
 
uint16_t __read_ldtr (void) noexcept
 
void __write_ldtr (uint16_t val) noexcept
 
uint16_t __read_tr (void) noexcept
 
void __write_tr (uint16_t val) noexcept
 
auto x64::segment_register::es::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::es::set (T val) noexcept
 
auto x64::segment_register::es::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::es::rpl::set (T val) noexcept
 
auto x64::segment_register::es::ti::get () noexcept
 
void x64::segment_register::es::ti::set (bool val) noexcept
 
auto x64::segment_register::es::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::es::index::set (T val) noexcept
 
auto x64::segment_register::cs::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::cs::set (T val) noexcept
 
auto x64::segment_register::cs::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::cs::rpl::set (T val) noexcept
 
auto x64::segment_register::cs::ti::get () noexcept
 
void x64::segment_register::cs::ti::set (bool val) noexcept
 
auto x64::segment_register::cs::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::cs::index::set (T val) noexcept
 
auto x64::segment_register::ss::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ss::set (T val) noexcept
 
auto x64::segment_register::ss::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ss::rpl::set (T val) noexcept
 
auto x64::segment_register::ss::ti::get () noexcept
 
void x64::segment_register::ss::ti::set (bool val) noexcept
 
auto x64::segment_register::ss::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ss::index::set (T val) noexcept
 
auto x64::segment_register::ds::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ds::set (T val) noexcept
 
auto x64::segment_register::ds::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ds::rpl::set (T val) noexcept
 
auto x64::segment_register::ds::ti::get () noexcept
 
void x64::segment_register::ds::ti::set (bool val) noexcept
 
auto x64::segment_register::ds::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ds::index::set (T val) noexcept
 
auto x64::segment_register::fs::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::fs::set (T val) noexcept
 
auto x64::segment_register::fs::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::fs::rpl::set (T val) noexcept
 
auto x64::segment_register::fs::ti::get () noexcept
 
void x64::segment_register::fs::ti::set (bool val) noexcept
 
auto x64::segment_register::fs::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::fs::index::set (T val) noexcept
 
auto x64::segment_register::gs::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::gs::set (T val) noexcept
 
auto x64::segment_register::gs::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::gs::rpl::set (T val) noexcept
 
auto x64::segment_register::gs::ti::get () noexcept
 
void x64::segment_register::gs::ti::set (bool val) noexcept
 
auto x64::segment_register::gs::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::gs::index::set (T val) noexcept
 
auto x64::segment_register::ldtr::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ldtr::set (T val) noexcept
 
auto x64::segment_register::ldtr::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ldtr::rpl::set (T val) noexcept
 
auto x64::segment_register::ldtr::ti::get () noexcept
 
void x64::segment_register::ldtr::ti::set (bool val) noexcept
 
auto x64::segment_register::ldtr::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::ldtr::index::set (T val) noexcept
 
auto x64::segment_register::tr::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::tr::set (T val) noexcept
 
auto x64::segment_register::tr::rpl::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::tr::rpl::set (T val) noexcept
 
auto x64::segment_register::tr::ti::get () noexcept
 
void x64::segment_register::tr::ti::set (bool val) noexcept
 
auto x64::segment_register::tr::index::get () noexcept
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
void x64::segment_register::tr::index::set (T val) noexcept
 

Variables

constexpr const auto x64::segment_register::es::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::es::rpl::from = 0
 
constexpr const auto x64::segment_register::es::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::es::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::es::ti::from = 2
 
constexpr const auto x64::segment_register::es::ti::name = "ti"
 
constexpr const auto x64::segment_register::es::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::es::index::from = 3
 
constexpr const auto x64::segment_register::es::index::name = "index"
 
constexpr const auto x64::segment_register::cs::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::cs::rpl::from = 0
 
constexpr const auto x64::segment_register::cs::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::cs::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::cs::ti::from = 2
 
constexpr const auto x64::segment_register::cs::ti::name = "ti"
 
constexpr const auto x64::segment_register::cs::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::cs::index::from = 3
 
constexpr const auto x64::segment_register::cs::index::name = "index"
 
constexpr const auto x64::segment_register::ss::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::ss::rpl::from = 0
 
constexpr const auto x64::segment_register::ss::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::ss::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::ss::ti::from = 2
 
constexpr const auto x64::segment_register::ss::ti::name = "ti"
 
constexpr const auto x64::segment_register::ss::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::ss::index::from = 3
 
constexpr const auto x64::segment_register::ss::index::name = "index"
 
constexpr const auto x64::segment_register::ds::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::ds::rpl::from = 0
 
constexpr const auto x64::segment_register::ds::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::ds::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::ds::ti::from = 2
 
constexpr const auto x64::segment_register::ds::ti::name = "ti"
 
constexpr const auto x64::segment_register::ds::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::ds::index::from = 3
 
constexpr const auto x64::segment_register::ds::index::name = "index"
 
constexpr const auto x64::segment_register::fs::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::fs::rpl::from = 0
 
constexpr const auto x64::segment_register::fs::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::fs::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::fs::ti::from = 2
 
constexpr const auto x64::segment_register::fs::ti::name = "ti"
 
constexpr const auto x64::segment_register::fs::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::fs::index::from = 3
 
constexpr const auto x64::segment_register::fs::index::name = "index"
 
constexpr const auto x64::segment_register::gs::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::gs::rpl::from = 0
 
constexpr const auto x64::segment_register::gs::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::gs::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::gs::ti::from = 2
 
constexpr const auto x64::segment_register::gs::ti::name = "ti"
 
constexpr const auto x64::segment_register::gs::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::gs::index::from = 3
 
constexpr const auto x64::segment_register::gs::index::name = "index"
 
constexpr const auto x64::segment_register::ldtr::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::ldtr::rpl::from = 0
 
constexpr const auto x64::segment_register::ldtr::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::ldtr::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::ldtr::ti::from = 2
 
constexpr const auto x64::segment_register::ldtr::ti::name = "ti"
 
constexpr const auto x64::segment_register::ldtr::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::ldtr::index::from = 3
 
constexpr const auto x64::segment_register::ldtr::index::name = "index"
 
constexpr const auto x64::segment_register::tr::rpl::mask = 0x00000003U
 
constexpr const auto x64::segment_register::tr::rpl::from = 0
 
constexpr const auto x64::segment_register::tr::rpl::name = "rpl"
 
constexpr const auto x64::segment_register::tr::ti::mask = 0x00000004U
 
constexpr const auto x64::segment_register::tr::ti::from = 2
 
constexpr const auto x64::segment_register::tr::ti::name = "ti"
 
constexpr const auto x64::segment_register::tr::index::mask = 0x0000FFF8U
 
constexpr const auto x64::segment_register::tr::index::from = 3
 
constexpr const auto x64::segment_register::tr::index::name = "index"
 

Function Documentation

◆ __read_es()

uint16_t __read_es ( void  )
noexcept

Definition at line 37 of file test_srs_x64.cpp.

◆ __write_es()

void __write_es ( uint16_t  val)
noexcept

Definition at line 41 of file test_srs_x64.cpp.

◆ __read_cs()

uint16_t __read_cs ( void  )
noexcept

Definition at line 45 of file test_srs_x64.cpp.

◆ __write_cs()

void __write_cs ( uint16_t  val)
noexcept

Definition at line 49 of file test_srs_x64.cpp.

◆ __read_ss()

uint16_t __read_ss ( void  )
noexcept

Definition at line 53 of file test_srs_x64.cpp.

◆ __write_ss()

void __write_ss ( uint16_t  val)
noexcept

Definition at line 57 of file test_srs_x64.cpp.

◆ __read_ds()

uint16_t __read_ds ( void  )
noexcept

Definition at line 61 of file test_srs_x64.cpp.

◆ __write_ds()

void __write_ds ( uint16_t  val)
noexcept

Definition at line 65 of file test_srs_x64.cpp.

◆ __read_fs()

uint16_t __read_fs ( void  )
noexcept

Definition at line 69 of file test_srs_x64.cpp.

◆ __write_fs()

void __write_fs ( uint16_t  val)
noexcept

Definition at line 73 of file test_srs_x64.cpp.

◆ __read_gs()

uint16_t __read_gs ( void  )
noexcept

Definition at line 77 of file test_srs_x64.cpp.

◆ __write_gs()

void __write_gs ( uint16_t  val)
noexcept

Definition at line 81 of file test_srs_x64.cpp.

◆ __read_ldtr()

uint16_t __read_ldtr ( void  )
noexcept

Definition at line 85 of file test_srs_x64.cpp.

◆ __write_ldtr()

void __write_ldtr ( uint16_t  val)
noexcept

Definition at line 89 of file test_srs_x64.cpp.

◆ __read_tr()

uint16_t __read_tr ( void  )
noexcept

Definition at line 93 of file test_srs_x64.cpp.

◆ __write_tr()

void __write_tr ( uint16_t  val)
noexcept

Definition at line 97 of file test_srs_x64.cpp.