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

Go to the source code of this file.

Namespaces

 x64
 
 x64::rflags
 
 x64::rflags::carry_flag
 
 x64::rflags::parity_flag
 
 x64::rflags::auxiliary_carry_flag
 
 x64::rflags::zero_flag
 
 x64::rflags::sign_flag
 
 x64::rflags::trap_flag
 
 x64::rflags::interrupt_enable_flag
 
 x64::rflags::direction_flag
 
 x64::rflags::overflow_flag
 
 x64::rflags::privilege_level
 
 x64::rflags::nested_task
 
 x64::rflags::resume_flag
 
 x64::rflags::virtual_8086_mode
 
 x64::rflags::alignment_check_access_control
 
 x64::rflags::virtual_interupt_flag
 
 x64::rflags::virtual_interupt_pending
 
 x64::rflags::id_flag
 
 x64::rflags::reserved
 
 x64::rflags::always_disabled
 
 x64::rflags::always_enabled
 

Typedefs

using x64::rflags::value_type = uint64_t
 

Functions

uint64_t __read_rflags (void) noexcept
 
void __write_rflags (uint64_t val) noexcept
 
auto x64::rflags::get () noexcept
 
auto x64::rflags::carry_flag::get () noexcept
 
auto x64::rflags::parity_flag::get () noexcept
 
auto x64::rflags::auxiliary_carry_flag::get () noexcept
 
auto x64::rflags::zero_flag::get () noexcept
 
auto x64::rflags::sign_flag::get () noexcept
 
auto x64::rflags::trap_flag::get () noexcept
 
auto x64::rflags::interrupt_enable_flag::get () noexcept
 
auto x64::rflags::direction_flag::get () noexcept
 
auto x64::rflags::overflow_flag::get () noexcept
 
auto x64::rflags::privilege_level::get () noexcept
 
auto x64::rflags::nested_task::get () noexcept
 
auto x64::rflags::resume_flag::get () noexcept
 
auto x64::rflags::virtual_8086_mode::get () noexcept
 
auto x64::rflags::alignment_check_access_control::get () noexcept
 
auto x64::rflags::virtual_interupt_flag::get () noexcept
 
auto x64::rflags::virtual_interupt_pending::get () noexcept
 
auto x64::rflags::id_flag::get () noexcept
 
auto x64::rflags::reserved::get () noexcept
 
auto x64::rflags::always_disabled::get () noexcept
 
auto x64::rflags::always_enabled::get () noexcept
 
void x64::rflags::dump () noexcept
 

Variables

constexpr const auto x64::rflags::carry_flag::mask = 0x0000000000000001UL
 
constexpr const auto x64::rflags::carry_flag::from = 0
 
constexpr const auto x64::rflags::carry_flag::name = "carry_flag"
 
constexpr const auto x64::rflags::parity_flag::mask = 0x0000000000000004UL
 
constexpr const auto x64::rflags::parity_flag::from = 2
 
constexpr const auto x64::rflags::parity_flag::name = "parity_flag"
 
constexpr const auto x64::rflags::auxiliary_carry_flag::mask = 0x0000000000000010UL
 
constexpr const auto x64::rflags::auxiliary_carry_flag::from = 4
 
constexpr const auto x64::rflags::auxiliary_carry_flag::name = "auxiliary_carry_flag"
 
constexpr const auto x64::rflags::zero_flag::mask = 0x0000000000000040UL
 
constexpr const auto x64::rflags::zero_flag::from = 6
 
constexpr const auto x64::rflags::zero_flag::name = "zero_flag"
 
constexpr const auto x64::rflags::sign_flag::mask = 0x0000000000000080UL
 
constexpr const auto x64::rflags::sign_flag::from = 7
 
constexpr const auto x64::rflags::sign_flag::name = "sign_flag"
 
constexpr const auto x64::rflags::trap_flag::mask = 0x0000000000000100UL
 
constexpr const auto x64::rflags::trap_flag::from = 8
 
constexpr const auto x64::rflags::trap_flag::name = "trap_flag"
 
constexpr const auto x64::rflags::interrupt_enable_flag::mask = 0x0000000000000200UL
 
constexpr const auto x64::rflags::interrupt_enable_flag::from = 9
 
constexpr const auto x64::rflags::interrupt_enable_flag::name = "interrupt_enable_flag"
 
constexpr const auto x64::rflags::direction_flag::mask = 0x0000000000000400UL
 
constexpr const auto x64::rflags::direction_flag::from = 10
 
constexpr const auto x64::rflags::direction_flag::name = "direction_flag"
 
constexpr const auto x64::rflags::overflow_flag::mask = 0x0000000000000800UL
 
constexpr const auto x64::rflags::overflow_flag::from = 11
 
constexpr const auto x64::rflags::overflow_flag::name = "overflow_flag"
 
constexpr const auto x64::rflags::privilege_level::mask = 0x0000000000003000UL
 
constexpr const auto x64::rflags::privilege_level::from = 12
 
constexpr const auto x64::rflags::privilege_level::name = "privilege_level"
 
constexpr const auto x64::rflags::nested_task::mask = 0x0000000000004000UL
 
constexpr const auto x64::rflags::nested_task::from = 14
 
constexpr const auto x64::rflags::nested_task::name = "nested_task"
 
constexpr const auto x64::rflags::resume_flag::mask = 0x0000000000010000UL
 
constexpr const auto x64::rflags::resume_flag::from = 16
 
constexpr const auto x64::rflags::resume_flag::name = "resume_flag"
 
constexpr const auto x64::rflags::virtual_8086_mode::mask = 0x0000000000020000UL
 
constexpr const auto x64::rflags::virtual_8086_mode::from = 17
 
constexpr const auto x64::rflags::virtual_8086_mode::name = "virtual_8086_mode"
 
constexpr const auto x64::rflags::alignment_check_access_control::mask = 0x0000000000040000UL
 
constexpr const auto x64::rflags::alignment_check_access_control::from = 18
 
constexpr const auto x64::rflags::alignment_check_access_control::name = "alignment_check_access_control"
 
constexpr const auto x64::rflags::virtual_interupt_flag::mask = 0x0000000000080000UL
 
constexpr const auto x64::rflags::virtual_interupt_flag::from = 19
 
constexpr const auto x64::rflags::virtual_interupt_flag::name = "virtual_interupt_flag"
 
constexpr const auto x64::rflags::virtual_interupt_pending::mask = 0x0000000000100000UL
 
constexpr const auto x64::rflags::virtual_interupt_pending::from = 20
 
constexpr const auto x64::rflags::virtual_interupt_pending::name = "virtual_interupt_pending"
 
constexpr const auto x64::rflags::id_flag::mask = 0x0000000000200000UL
 
constexpr const auto x64::rflags::id_flag::from = 21
 
constexpr const auto x64::rflags::id_flag::name = "id_flag"
 
constexpr const auto x64::rflags::reserved::mask = 0xFFFFFFFFFFC08028UL
 
constexpr const auto x64::rflags::reserved::from = 0
 
constexpr const auto x64::rflags::reserved::name = "reserved"
 
constexpr const auto x64::rflags::always_disabled::mask = 0xFFFFFFFFFFC08028UL
 
constexpr const auto x64::rflags::always_disabled::from = 0
 
constexpr const auto x64::rflags::always_disabled::name = "always_disabled"
 
constexpr const auto x64::rflags::always_enabled::mask = 0x0000000000000002UL
 
constexpr const auto x64::rflags::always_enabled::from = 0
 
constexpr const auto x64::rflags::always_enabled::name = "always_enabled"
 

Function Documentation

◆ __read_rflags()

uint64_t __read_rflags ( void  )
noexcept

Definition at line 30 of file test_rflags_x64.cpp.

◆ __write_rflags()

void __write_rflags ( uint64_t  val)
noexcept