Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/realmode/rm/
Dwakeup_asm.S53 orb $X86_CR0_PE, %al
63 andb $~X86_CR0_PE, %al
/linux-6.6.21/arch/x86/platform/pvh/
Dhead.S88 mov $(X86_CR0_PG | X86_CR0_PE), %eax
119 or $(X86_CR0_PG | X86_CR0_PE), %eax
/linux-6.6.21/arch/x86/include/uapi/asm/
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 | \
/linux-6.6.21/arch/x86/boot/
Dpmjump.S38 orb $X86_CR0_PE, %dl # Protected mode
/linux-6.6.21/arch/x86/kvm/
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()
Dx86.h140 return kvm_is_cr0_bit_set(vcpu, X86_CR0_PE); in is_protmode()
Dpmu.c538 kvm_is_cr0_bit_set(vcpu, X86_CR0_PE)) in kvm_pmu_rdpmc()
Demulate.c789 if (!(ctxt->ops->get_cr(ctxt, 0) & X86_CR0_PE)) { in emulator_recalc_and_set_mode()
Dx86.c923 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_is_valid_cr0()
/linux-6.6.21/arch/x86/kvm/vmx/
Dnested.h265 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
Dnested.c2835 bool prot_mode = !urg || vmcs12->guest_cr0 & X86_CR0_PE; in nested_check_vm_entry_controls()
3050 if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG)) in nested_vmx_check_guest_state()
6980 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_cr_fixed()
Dvmx.c146 (KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST | X86_CR0_PG | X86_CR0_PE)
3296 if (vmx->rmode.vm86_active && (cr0 & X86_CR0_PE)) in vmx_set_cr0()
3299 if (!vmx->rmode.vm86_active && !(cr0 & X86_CR0_PE)) in vmx_set_cr0()
/linux-6.6.21/arch/x86/kernel/
Drelocate_kernel_64.S141 orl $(X86_CR0_PG | X86_CR0_PE), %eax
Drelocate_kernel_32.S118 orl $(X86_CR0_PE), %eax
/linux-6.6.21/arch/x86/boot/compressed/
Dmem_encrypt.S282 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
/linux-6.6.21/arch/x86/kvm/svm/
Dnested.c298 CC(!(save->cr0 & X86_CR0_PE)) || in __nested_vmcb_check_save()
1111 svm_set_cr0(vcpu, vmcb01->save.cr0 | X86_CR0_PE); in nested_svm_vmexit()
1724 !(save->cr0 & X86_CR0_PE) || in svm_set_nested_state()
Dsvm.c4482 if (cr0 & X86_CR0_PE) in svm_check_intercept()
4483 val |= X86_CR0_PE; in svm_check_intercept()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h1225 #define X86_CR0_PE (1UL<<0) /* Protection Enable */ macro
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c539 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/linux-6.6.21/arch/x86/include/asm/
Dkvm_host.h118 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \