Home
last modified time | relevance | path

Searched refs:X86_CR0_PE (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/arch/x86/realmode/rm/
H A Dwakeup_asm.S53 orb $X86_CR0_PE, %al
63 andb $~X86_CR0_PE, %al
/openbmc/linux/arch/x86/platform/pvh/
H A Dhead.S88 mov $(X86_CR0_PG | X86_CR0_PE), %eax
119 or $(X86_CR0_PG | X86_CR0_PE), %eax
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h52 #define X86_CR0_PE _BITUL(X86_CR0_PE_BIT) macro
170 #define CR0_STATE (X86_CR0_PE | X86_CR0_MP | X86_CR0_ET | \
/openbmc/u-boot/arch/x86/include/asm/
H A Dprocessor-flags.h29 #define X86_CR0_PE 0x00000001 /* Protection Enable */ macro
/openbmc/u-boot/arch/x86/lib/
H A Dbios_asm.S66 andl $~X86_CR0_PE, %eax
114 orl $X86_CR0_PE, %eax
/openbmc/u-boot/arch/x86/cpu/
H A Dwakeup.S50 andl $~X86_CR0_PE, %eax
H A Dstart16.S44 orl $X86_CR0_PE, %eax
H A Dsipi_vector.S55 orl $(X86_CR0_NW | X86_CR0_CD | X86_CR0_PE), %eax
/openbmc/u-boot/arch/x86/cpu/i386/
H A Dcall64.S70 movl $(X86_CR0_PG | X86_CR0_PE), %eax
/openbmc/linux/arch/x86/boot/
H A Dpmjump.S38 orb $X86_CR0_PE, %dl # Protected mode
/openbmc/linux/arch/x86/kvm/
H A Dsmm.c325 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
616 if (cr0 & X86_CR0_PE) in emulator_leave_smm()
617 kvm_set_cr0(vcpu, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in emulator_leave_smm()
H A Dx86.h140 return kvm_is_cr0_bit_set(vcpu, X86_CR0_PE); in is_protmode()
H A Dpmu.c538 kvm_is_cr0_bit_set(vcpu, X86_CR0_PE)) in kvm_pmu_rdpmc()
H A Demulate.c789 if (!(ctxt->ops->get_cr(ctxt, 0) & X86_CR0_PE)) { in emulator_recalc_and_set_mode()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.h265 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
H A Dnested.c2836 bool prot_mode = !urg || vmcs12->guest_cr0 & X86_CR0_PE; in nested_check_vm_entry_controls()
3051 if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG)) in nested_vmx_check_guest_state()
7013 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_cr_fixed()
H A Dvmx.c148 (KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST | X86_CR0_PG | X86_CR0_PE)
3298 if (vmx->rmode.vm86_active && (cr0 & X86_CR0_PE)) in vmx_set_cr0()
3301 if (!vmx->rmode.vm86_active && !(cr0 & X86_CR0_PE)) in vmx_set_cr0()
/openbmc/linux/arch/x86/boot/compressed/
H A Dmem_encrypt.S282 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
/openbmc/linux/arch/x86/kernel/
H A Drelocate_kernel_64.S141 orl $(X86_CR0_PG | X86_CR0_PE), %eax
H A Drelocate_kernel_32.S118 orl $(X86_CR0_PE), %eax
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c302 CC(!(save->cr0 & X86_CR0_PE)) || in __nested_vmcb_check_save()
1115 svm_set_cr0(vcpu, vmcb01->save.cr0 | X86_CR0_PE); in nested_svm_vmexit()
1728 !(save->cr0 & X86_CR0_PE) || in svm_set_nested_state()
H A Dsvm.c4512 if (cr0 & X86_CR0_PE) in svm_check_intercept()
4513 val |= X86_CR0_PE; in svm_check_intercept()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1225 #define X86_CR0_PE (1UL<<0) /* Protection Enable */ macro
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c539 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h118 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \

12