Namespaces | Functions | Variables
x64 Namespace Reference

Namespaces

 access_rights
 
 cache
 
 cpuid
 
 dr7
 
 gdt
 
 idt
 
 interrupt
 
 memory_attr
 
 memory_type
 
 msrs
 
 page_table
 
 pat
 
 pdpte
 
 pm
 
 portio
 
 read_tsc
 
 read_tscp
 
 rflags
 
 segment_register
 
 tlb
 

Functions

template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
auto is_address_canonical (T addr)
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
auto is_linear_address_valid (T addr)
 
template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
auto is_physical_address_valid (T addr)
 

Variables

constexpr const auto page_size = 0x1000UL
 
constexpr const auto page_shift = 12UL
 
constexpr const auto cache_line_size = 64UL
 
constexpr const auto cache_line_shift = 6UL
 

Function Documentation

◆ is_address_canonical()

template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
auto x64::is_address_canonical ( addr)

Definition at line 118 of file x64.h.

◆ is_linear_address_valid()

template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
auto x64::is_linear_address_valid ( addr)

Definition at line 122 of file x64.h.

◆ is_physical_address_valid()

template<class T , class = typename std::enable_if<std::is_integral<T>::value>::type>
auto x64::is_physical_address_valid ( addr)

Definition at line 126 of file x64.h.

Variable Documentation

◆ page_size

constexpr const auto x64::page_size = 0x1000UL

Definition at line 35 of file x64.h.

◆ page_shift

constexpr const auto x64::page_shift = 12UL

Definition at line 36 of file x64.h.

◆ cache_line_size

constexpr const auto x64::cache_line_size = 64UL

Definition at line 37 of file x64.h.

◆ cache_line_shift

constexpr const auto x64::cache_line_shift = 6UL

Definition at line 38 of file x64.h.