Searched refs:cr0 (Results 101 - 125 of 127) sorted by relevance

123456

/linux-master/include/uapi/linux/
H A Dacrn.h263 * @cr0: Value of register CR0
288 __le64 cr0; member in struct:acrn_regs
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h543 uint64_t cr0; local
545 __asm__ __volatile__("mov %%cr0, %[cr0]"
546 : /* output */ [cr0]"=r"(cr0));
547 return cr0;
/linux-master/arch/powerpc/kernel/
H A Dhead_44x.S811 cmplwi cr0,r3,PVR_476FPE@h
813 cmplwi cr0,r3,PVR_476@h
815 cmplwi cr0,r3,PVR_476_ISS@h
H A Dentry_32.S139 cmplwi cr0,r5,0
H A Dhead_8xx.S49 cmpli cr0, \scratch, PAGE_OFFSET@h
H A Dhead_85xx.S790 mcrf cr0, cr5 /* Test for user page */
H A Dexceptions-64s.S528 kuap_save_amr_and_lock r9, r10, cr1, cr0
1959 * inputs is: cr0, xer, ctr. We may use these as scratch regs upon entry
2241 cmpdi cr0,r3,0
H A Dhead_book3s_32.S1172 cmpwi cr0,r8,0
/linux-master/arch/x86/kernel/cpu/
H A Dcacheinfo.c1055 unsigned long cr0; local
1067 cr0 = read_cr0() | X86_CR0_CD;
1068 write_cr0(cr0);
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.c2481 vcpu->arch.cr0 &= ~guest_owned_bits;
2482 vcpu->arch.cr0 |= vmcs_readl(GUEST_CR0) & guest_owned_bits;
3258 static bool vmx_is_valid_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) argument
3261 return nested_guest_cr0_valid(vcpu, cr0);
3264 return nested_host_cr0_valid(vcpu, cr0);
3269 void vmx_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) argument
3277 hw_cr0 = (cr0 & ~KVM_VM_CR0_ALWAYS_OFF);
3285 if (vmx->rmode.vm86_active && (cr0 & X86_CR0_PE))
3288 if (!vmx->rmode.vm86_active && !(cr0 & X86_CR0_PE))
3292 vmcs_writel(CR0_READ_SHADOW, cr0);
4293 unsigned long cr0, cr3, cr4; local
[all...]
H A Dvmx.h395 void vmx_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
/linux-master/arch/x86/include/asm/
H A Dkvm_host.h751 unsigned long cr0; member in struct:kvm_vcpu_arch
1639 bool (*is_valid_cr0)(struct kvm_vcpu *vcpu, unsigned long cr0);
1640 void (*set_cr0)(struct kvm_vcpu *vcpu, unsigned long cr0);
2062 void kvm_post_set_cr0(struct kvm_vcpu *vcpu, unsigned long old_cr0, unsigned long cr0);
2064 int kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
H A Dhyperv-tlfs.h778 u64 cr0; member in struct:hv_init_vp_context
/linux-master/arch/powerpc/platforms/52xx/
H A Dlite5200_sleep.S190 cmp cr0, r13, r12
/linux-master/arch/x86/kernel/
H A Dhead_64.S405 /* Setup cr0 */
408 movq %rax, %cr0
/linux-master/arch/x86/kvm/
H A Dx86.c913 static bool kvm_is_valid_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) argument
916 if (cr0 & 0xffffffff00000000UL)
920 if ((cr0 & X86_CR0_NW) && !(cr0 & X86_CR0_CD))
923 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE))
926 return static_call(kvm_x86_is_valid_cr0)(vcpu, cr0);
929 void kvm_post_set_cr0(struct kvm_vcpu *vcpu, unsigned long old_cr0, unsigned long cr0) argument
939 if ((cr0 ^ old_cr0) == X86_CR0_WP) {
940 if (!(cr0
971 kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) argument
[all...]
H A Demulate.c3458 ulong cr0; local
3460 cr0 = ctxt->ops->get_cr(ctxt, 0);
3461 cr0 &= ~X86_CR0_TS;
3462 ctxt->ops->set_cr(ctxt, 0, cr0);
/linux-master/arch/s390/boot/
H A Dhead.S276 .Lctl: .quad 0x04040000 # cr0: AFP registers & secondary space
/linux-master/arch/x86/hyperv/
H A Divm.c326 asm volatile("movq %%cr0, %%rax;" : "=a" (vmsa->cr0));
/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c105 sregs->cr0, sregs->cr2, sregs->cr3, sregs->cr4);
556 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG;
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c187 const unsigned long cr0; member in struct:kvm_mmu_role_regs
206 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, pg, X86_CR0_PG);
207 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, wp, X86_CR0_WP);
228 BUILD_MMU_ROLE_ACCESSOR(base, cr0, wp);
250 .cr0 = kvm_read_cr0_bits(vcpu, KVM_MMU_CR0_ROLE_BITS),
5132 /* Allow supervisor writes if !cr0.wp */
5420 void kvm_init_shadow_npt_mmu(struct kvm_vcpu *vcpu, unsigned long cr0, argument
5425 .cr0 = cr0,
/linux-master/arch/s390/include/asm/
H A Dkvm_host.h724 unsigned long cr0; member in struct:kvm_guestdbg_info_arch
/linux-master/arch/powerpc/include/asm/
H A Dppc_asm.h588 #define cr0 0 macro
/linux-master/tools/testing/selftests/powerpc/primitives/asm/
H A Dppc_asm.h588 #define cr0 0 macro
/linux-master/arch/parisc/kernel/
H A Dentry.S776 mtctl %r0, %cr0 /* Needed for single stepping */
1822 mtctl %r2,%cr0 /* for immediate trap */

Completed in 621 milliseconds

123456