Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86/
A Dset_sregs_test.c83 sregs.cr0 &= ~(X86_CR0_CD | X86_CR0_NW); in test_cr_bits()
114 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, BIT(i)); in test_cr_bits()
117 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, X86_CR0_NW); in test_cr_bits()
118 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, X86_CR0_PG); in test_cr_bits()
A Dvmx_exception_with_invalid_guest_state.c60 if (!sregs.cr0) in set_or_clear_invalid_guest_state()
/tools/testing/selftests/powerpc/math/
A Dfpu_asm.S82 fcmpu cr0, i, f31 // compare
83 bne cr0, 1f // bail if mismatch
91 fcmpu cr0, f30, f31 // compare
92 bne cr0, 1f // bail if mismatch
/tools/testing/selftests/net/netfilter/
A Dnft_interface_stress.sh24 ip -net $nsc link add cr0 type veth peer name rc0 netns $nsr
25 ip -net $nsc addr add 10.0.0.1/24 dev cr0
26 ip -net $nsc link set cr0 up
/tools/testing/selftests/kvm/lib/x86/
A Dvmx.c118 unsigned long cr0; in prepare_for_vmx_operation() local
126 __asm__ __volatile__("mov %%cr0, %0" : "=r"(cr0) : : "memory"); in prepare_for_vmx_operation()
127 cr0 &= rdmsr(MSR_IA32_VMX_CR0_FIXED1); in prepare_for_vmx_operation()
128 cr0 |= rdmsr(MSR_IA32_VMX_CR0_FIXED0); in prepare_for_vmx_operation()
129 __asm__ __volatile__("mov %0, %%cr0" : : "r"(cr0) : "memory"); in prepare_for_vmx_operation()
A Dsvm.c92 asm volatile ("mov %%cr0, %0" : "=r"(save->cr0) : : "memory"); in generic_svm_setup()
A Dprocessor.c104 sregs->cr0, sregs->cr2, sregs->cr3, sregs->cr4); in sregs_dump()
505 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_init_sregs()
/tools/testing/selftests/kvm/include/x86/
A Dsvm.h207 u64 cr0; member
A Dprocessor.h553 uint64_t cr0; in get_cr0() local
556 : /* output */ [cr0]"=r"(cr0)); in get_cr0()
557 return cr0; in get_cr0()
/tools/arch/x86/include/uapi/asm/
A Dkvm.h150 __u64 cr0, cr2, cr3, cr4, cr8; member
161 __u64 cr0, cr2, cr3, cr4, cr8; member
/tools/testing/selftests/kvm/
A Dmmu_stress_test.c134 sregs.cr0 ^= X86_CR0_WP; in vcpu_worker()

Completed in 37 milliseconds