Home
last modified time | relevance | path

Searched refs:cr0 (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c137 unsigned long cr0; in prepare_for_vmx_operation() local
145 __asm__ __volatile__("mov %%cr0, %0" : "=r"(cr0) : : "memory"); in prepare_for_vmx_operation()
146 cr0 &= rdmsr(MSR_IA32_VMX_CR0_FIXED1); in prepare_for_vmx_operation()
147 cr0 |= rdmsr(MSR_IA32_VMX_CR0_FIXED0); in prepare_for_vmx_operation()
148 __asm__ __volatile__("mov %0, %%cr0" : : "r"(cr0) : "memory"); in prepare_for_vmx_operation()
Dprocessor.c216 sregs->cr0, sregs->cr2, sregs->cr3, sregs->cr4); in sregs_dump()
626 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h191 uint64_t cr0; in get_cr0() local
194 : /* output */ [cr0]"=r"(cr0)); in get_cr0()
195 return cr0; in get_cr0()
/tools/arch/x86/include/uapi/asm/
Dkvm.h154 __u64 cr0, cr2, cr3, cr4, cr8; member