Typedefs | Functions | Variables
x64::memory_attr Namespace Reference

Typedefs

using attr_type = uint64_t
 

Functions

template<class P , class T , class = typename std::enable_if<std::is_integral<P>::value>::type, class = typename std::enable_if<std::is_integral<T>::value>::type>
auto mem_type_to_attr (P perm, T type)
 

Variables

constexpr const auto invalid = 0x00000000UL
 
constexpr const auto rw = 0x00000100UL
 
constexpr const auto re = 0x00000200UL
 
constexpr const auto pt = 0x00000300UL
 
constexpr const auto rw_uc = 0x00000100UL
 
constexpr const auto rw_wc = 0x00000101UL
 
constexpr const auto rw_wt = 0x00000104UL
 
constexpr const auto rw_wp = 0x00000105UL
 
constexpr const auto rw_wb = 0x00000106UL
 
constexpr const auto rw_uc_m = 0x00000107UL
 
constexpr const auto re_uc = 0x00000200UL
 
constexpr const auto re_wc = 0x00000201UL
 
constexpr const auto re_wt = 0x00000204UL
 
constexpr const auto re_wp = 0x00000205UL
 
constexpr const auto re_wb = 0x00000206UL
 
constexpr const auto re_uc_m = 0x00000207UL
 
constexpr const auto pt_uc = 0x00000300UL
 
constexpr const auto pt_wc = 0x00000301UL
 
constexpr const auto pt_wt = 0x00000304UL
 
constexpr const auto pt_wp = 0x00000305UL
 
constexpr const auto pt_wb = 0x00000306UL
 
constexpr const auto pt_uc_m = 0x00000307UL
 

Typedef Documentation

◆ attr_type

using x64::memory_attr::attr_type = typedef uint64_t

Definition at line 35 of file mem_attr_x64.h.

Function Documentation

◆ mem_type_to_attr()

template<class P , class T , class = typename std::enable_if<std::is_integral<P>::value>::type, class = typename std::enable_if<std::is_integral<T>::value>::type>
auto x64::memory_attr::mem_type_to_attr ( perm,
type 
)

Definition at line 67 of file mem_attr_x64.h.

Variable Documentation

◆ invalid

constexpr const auto x64::memory_attr::invalid = 0x00000000UL

Definition at line 37 of file mem_attr_x64.h.

◆ rw

constexpr const auto x64::memory_attr::rw = 0x00000100UL

Definition at line 39 of file mem_attr_x64.h.

◆ re

constexpr const auto x64::memory_attr::re = 0x00000200UL

Definition at line 40 of file mem_attr_x64.h.

◆ pt

constexpr const auto x64::memory_attr::pt = 0x00000300UL

Definition at line 41 of file mem_attr_x64.h.

◆ rw_uc

constexpr const auto x64::memory_attr::rw_uc = 0x00000100UL

Definition at line 43 of file mem_attr_x64.h.

◆ rw_wc

constexpr const auto x64::memory_attr::rw_wc = 0x00000101UL

Definition at line 44 of file mem_attr_x64.h.

◆ rw_wt

constexpr const auto x64::memory_attr::rw_wt = 0x00000104UL

Definition at line 45 of file mem_attr_x64.h.

◆ rw_wp

constexpr const auto x64::memory_attr::rw_wp = 0x00000105UL

Definition at line 46 of file mem_attr_x64.h.

◆ rw_wb

constexpr const auto x64::memory_attr::rw_wb = 0x00000106UL

Definition at line 47 of file mem_attr_x64.h.

◆ rw_uc_m

constexpr const auto x64::memory_attr::rw_uc_m = 0x00000107UL

Definition at line 48 of file mem_attr_x64.h.

◆ re_uc

constexpr const auto x64::memory_attr::re_uc = 0x00000200UL

Definition at line 50 of file mem_attr_x64.h.

◆ re_wc

constexpr const auto x64::memory_attr::re_wc = 0x00000201UL

Definition at line 51 of file mem_attr_x64.h.

◆ re_wt

constexpr const auto x64::memory_attr::re_wt = 0x00000204UL

Definition at line 52 of file mem_attr_x64.h.

◆ re_wp

constexpr const auto x64::memory_attr::re_wp = 0x00000205UL

Definition at line 53 of file mem_attr_x64.h.

◆ re_wb

constexpr const auto x64::memory_attr::re_wb = 0x00000206UL

Definition at line 54 of file mem_attr_x64.h.

◆ re_uc_m

constexpr const auto x64::memory_attr::re_uc_m = 0x00000207UL

Definition at line 55 of file mem_attr_x64.h.

◆ pt_uc

constexpr const auto x64::memory_attr::pt_uc = 0x00000300UL

Definition at line 57 of file mem_attr_x64.h.

◆ pt_wc

constexpr const auto x64::memory_attr::pt_wc = 0x00000301UL

Definition at line 58 of file mem_attr_x64.h.

◆ pt_wt

constexpr const auto x64::memory_attr::pt_wt = 0x00000304UL

Definition at line 59 of file mem_attr_x64.h.

◆ pt_wp

constexpr const auto x64::memory_attr::pt_wp = 0x00000305UL

Definition at line 60 of file mem_attr_x64.h.

◆ pt_wb

constexpr const auto x64::memory_attr::pt_wb = 0x00000306UL

Definition at line 61 of file mem_attr_x64.h.

◆ pt_uc_m

constexpr const auto x64::memory_attr::pt_uc_m = 0x00000307UL

Definition at line 62 of file mem_attr_x64.h.