/linux-master/include/uapi/linux/ |
H A D | acrn.h | 263 * @cr0: Value of register CR0 288 __le64 cr0; member in struct:acrn_regs
|
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 543 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 D | head_44x.S | 811 cmplwi cr0,r3,PVR_476FPE@h 813 cmplwi cr0,r3,PVR_476@h 815 cmplwi cr0,r3,PVR_476_ISS@h
|
H A D | entry_32.S | 139 cmplwi cr0,r5,0
|
H A D | head_8xx.S | 49 cmpli cr0, \scratch, PAGE_OFFSET@h
|
H A D | head_85xx.S | 790 mcrf cr0, cr5 /* Test for user page */
|
H A D | exceptions-64s.S | 528 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 D | head_book3s_32.S | 1172 cmpwi cr0,r8,0
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | cacheinfo.c | 1055 unsigned long cr0; local 1067 cr0 = read_cr0() | X86_CR0_CD; 1068 write_cr0(cr0);
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmx.c | 2481 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 D | vmx.h | 395 void vmx_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
|
/linux-master/arch/x86/include/asm/ |
H A D | kvm_host.h | 751 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 D | hyperv-tlfs.h | 778 u64 cr0; member in struct:hv_init_vp_context
|
/linux-master/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 190 cmp cr0, r13, r12
|
/linux-master/arch/x86/kernel/ |
H A D | head_64.S | 405 /* Setup cr0 */ 408 movq %rax, %cr0
|
/linux-master/arch/x86/kvm/ |
H A D | x86.c | 913 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 D | emulate.c | 3458 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 D | head.S | 276 .Lctl: .quad 0x04040000 # cr0: AFP registers & secondary space
|
/linux-master/arch/x86/hyperv/ |
H A D | ivm.c | 326 asm volatile("movq %%cr0, %%rax;" : "=a" (vmsa->cr0));
|
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 105 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 D | mmu.c | 187 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 D | kvm_host.h | 724 unsigned long cr0; member in struct:kvm_guestdbg_info_arch
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ppc_asm.h | 588 #define cr0 0 macro
|
/linux-master/tools/testing/selftests/powerpc/primitives/asm/ |
H A D | ppc_asm.h | 588 #define cr0 0 macro
|
/linux-master/arch/parisc/kernel/ |
H A D | entry.S | 776 mtctl %r0, %cr0 /* Needed for single stepping */ 1822 mtctl %r2,%cr0 /* for immediate trap */
|