Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h233 uint64_t cr0; in get_cr0() local
236 : /* output */ [cr0]"=r"(cr0)); in get_cr0()
237 return cr0; in get_cr0()
Dsvm.h182 u64 cr0; member
/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c135 unsigned long cr0; in prepare_for_vmx_operation() local
143 __asm__ __volatile__("mov %%cr0, %0" : "=r"(cr0) : : "memory"); in prepare_for_vmx_operation()
144 cr0 &= rdmsr(MSR_IA32_VMX_CR0_FIXED1); in prepare_for_vmx_operation()
145 cr0 |= rdmsr(MSR_IA32_VMX_CR0_FIXED0); in prepare_for_vmx_operation()
146 __asm__ __volatile__("mov %0, %%cr0" : : "r"(cr0) : "memory"); in prepare_for_vmx_operation()
Dsvm.c99 asm volatile ("mov %%cr0, %0" : "=r"(save->cr0) : : "memory"); in generic_svm_setup()
Dprocessor.c132 sregs->cr0, sregs->cr2, sregs->cr3, sregs->cr4); in sregs_dump()
596 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/tools/arch/x86/include/uapi/asm/
Dkvm.h156 __u64 cr0, cr2, cr3, cr4, cr8; member
167 __u64 cr0, cr2, cr3, cr4, cr8; member