Functions | Variables
test_crs_intel_x64.cpp File Reference

Go to the source code of this file.

Functions

uint64_t __read_cr0 (void) noexcept
 
void __write_cr0 (uint64_t val) noexcept
 
uint64_t __read_cr2 (void) noexcept
 
void __write_cr2 (uint64_t val) noexcept
 
uint64_t __read_cr3 (void) noexcept
 
void __write_cr3 (uint64_t val) noexcept
 
uint64_t __read_cr4 (void) noexcept
 
void __write_cr4 (uint64_t val) noexcept
 

Variables

cr0::value_type g_cr0 = 0
 
cr2::value_type g_cr2 = 0
 
cr3::value_type g_cr3 = 0
 
cr4::value_type g_cr4 = 0
 

Function Documentation

◆ __read_cr0()

uint64_t __read_cr0 ( void  )
noexcept

Definition at line 33 of file test_crs_intel_x64.cpp.

◆ __write_cr0()

void __write_cr0 ( uint64_t  val)
noexcept

Definition at line 37 of file test_crs_intel_x64.cpp.

◆ __read_cr2()

uint64_t __read_cr2 ( void  )
noexcept

Definition at line 41 of file test_crs_intel_x64.cpp.

◆ __write_cr2()

void __write_cr2 ( uint64_t  val)
noexcept

Definition at line 45 of file test_crs_intel_x64.cpp.

◆ __read_cr3()

uint64_t __read_cr3 ( void  )
noexcept

Definition at line 49 of file test_crs_intel_x64.cpp.

◆ __write_cr3()

void __write_cr3 ( uint64_t  val)
noexcept

Definition at line 53 of file test_crs_intel_x64.cpp.

◆ __read_cr4()

uint64_t __read_cr4 ( void  )
noexcept

Definition at line 57 of file test_crs_intel_x64.cpp.

◆ __write_cr4()

void __write_cr4 ( uint64_t  val)
noexcept

Definition at line 61 of file test_crs_intel_x64.cpp.

Variable Documentation

◆ g_cr0

cr0::value_type g_cr0 = 0

Definition at line 27 of file test_crs_intel_x64.cpp.

◆ g_cr2

cr2::value_type g_cr2 = 0

Definition at line 28 of file test_crs_intel_x64.cpp.

◆ g_cr3

cr3::value_type g_cr3 = 0

Definition at line 29 of file test_crs_intel_x64.cpp.

◆ g_cr4

cr4::value_type g_cr4 = 0

Definition at line 30 of file test_crs_intel_x64.cpp.