Functions
test_vcpu_intel_x64.cpp File Reference

Go to the source code of this file.

Functions

uint64_t __read_msr (uint32_t addr) noexcept
 
uint64_t __read_cr0 (void) noexcept
 
uint64_t __read_cr3 (void) noexcept
 
uint64_t __read_cr4 (void) noexcept
 
uint64_t __read_rflags (void) noexcept
 
uint64_t __read_dr7 (void) noexcept
 
void __read_gdt (gdt_reg_x64_t *gdt_reg) noexcept
 
void __read_idt (idt_reg_x64_t *idt_reg) noexcept
 
uint16_t __read_es (void) noexcept
 
uint16_t __read_cs (void) noexcept
 
uint16_t __read_ss (void) noexcept
 
uint16_t __read_ds (void) noexcept
 
uint16_t __read_fs (void) noexcept
 
uint16_t __read_gs (void) noexcept
 
uint16_t __read_ldtr (void) noexcept
 
uint16_t __read_tr (void) noexcept
 
uint32_t __cpuid_ecx (uint32_t val) noexcept
 
uint32_t __cpuid_eax (uint32_t val) noexcept
 
void __cpuid (void *eax, void *ebx, void *ecx, void *edx) noexcept
 

Function Documentation

◆ __read_msr()

uint64_t __read_msr ( uint32_t  addr)
noexcept

Definition at line 34 of file test_vcpu_intel_x64.cpp.

◆ __read_cr0()

uint64_t __read_cr0 ( void  )
noexcept

Definition at line 38 of file test_vcpu_intel_x64.cpp.

◆ __read_cr3()

uint64_t __read_cr3 ( void  )
noexcept

Definition at line 42 of file test_vcpu_intel_x64.cpp.

◆ __read_cr4()

uint64_t __read_cr4 ( void  )
noexcept

Definition at line 46 of file test_vcpu_intel_x64.cpp.

◆ __read_rflags()

uint64_t __read_rflags ( void  )
noexcept

Definition at line 50 of file test_vcpu_intel_x64.cpp.

◆ __read_dr7()

uint64_t __read_dr7 ( void  )
noexcept

Definition at line 54 of file test_vcpu_intel_x64.cpp.

◆ __read_gdt()

void __read_gdt ( gdt_reg_x64_t gdt_reg)
noexcept

Definition at line 58 of file test_vcpu_intel_x64.cpp.

◆ __read_idt()

void __read_idt ( idt_reg_x64_t idt_reg)
noexcept

Definition at line 62 of file test_vcpu_intel_x64.cpp.

◆ __read_es()

uint16_t __read_es ( void  )
noexcept

Definition at line 66 of file test_vcpu_intel_x64.cpp.

◆ __read_cs()

uint16_t __read_cs ( void  )
noexcept

Definition at line 70 of file test_vcpu_intel_x64.cpp.

◆ __read_ss()

uint16_t __read_ss ( void  )
noexcept

Definition at line 74 of file test_vcpu_intel_x64.cpp.

◆ __read_ds()

uint16_t __read_ds ( void  )
noexcept

Definition at line 78 of file test_vcpu_intel_x64.cpp.

◆ __read_fs()

uint16_t __read_fs ( void  )
noexcept

Definition at line 82 of file test_vcpu_intel_x64.cpp.

◆ __read_gs()

uint16_t __read_gs ( void  )
noexcept

Definition at line 86 of file test_vcpu_intel_x64.cpp.

◆ __read_ldtr()

uint16_t __read_ldtr ( void  )
noexcept

Definition at line 90 of file test_vcpu_intel_x64.cpp.

◆ __read_tr()

uint16_t __read_tr ( void  )
noexcept

Definition at line 94 of file test_vcpu_intel_x64.cpp.

◆ __cpuid_ecx()

uint32_t __cpuid_ecx ( uint32_t  val)
noexcept

Definition at line 98 of file test_vcpu_intel_x64.cpp.

◆ __cpuid_eax()

uint32_t __cpuid_eax ( uint32_t  val)
noexcept

Definition at line 102 of file test_vcpu_intel_x64.cpp.

◆ __cpuid()

void __cpuid ( void *  eax,
void *  ebx,
void *  ecx,
void *  edx 
)
noexcept

Definition at line 106 of file test_vcpu_intel_x64.cpp.