Home
last modified time | relevance | path

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

/linux/arch/x86/realmode/rm/
H A Dwakeup_asm.S53 orb $X86_CR0_PE, %al
63 andb $~X86_CR0_PE, %al
/linux/arch/x86/boot/
H A Dpmjump.S38 orb $X86_CR0_PE, %dl # Protected mode
/linux/arch/x86/kvm/
H A Dsmm.c323 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
617 if (cr0 & X86_CR0_PE) in emulator_leave_smm()
618 kvm_set_cr0(vcpu, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in emulator_leave_smm()
H A Demulate.c740 if (!(ctxt->ops->get_cr(ctxt, 0) & X86_CR0_PE)) { in emulator_recalc_and_set_mode()
H A Dx86.c1118 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_is_valid_cr0()
/linux/arch/x86/boot/compressed/
H A Dmem_encrypt.S282 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
/linux/arch/x86/kvm/vmx/
H A Dnested.h290 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
H A Dnested.c3017 bool prot_mode = !urg || vmcs12->guest_cr0 & X86_CR0_PE; in nested_check_vm_entry_controls()
3336 if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG)) in nested_vmx_check_guest_state()
7324 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_cr_fixed()
H A Dvmx.c162 (KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST | X86_CR0_PG | X86_CR0_PE)
3412 if (vmx->rmode.vm86_active && (cr0 & X86_CR0_PE)) in vmx_set_cr0()
3415 if (!vmx->rmode.vm86_active && !(cr0 & X86_CR0_PE)) in vmx_set_cr0()
/linux/arch/x86/kernel/
H A Drelocate_kernel_64.S191 orl $(X86_CR0_PG | X86_CR0_PE), %eax
/linux/arch/x86/kvm/svm/
H A Dnested.c442 CC(!(save->cr0 & X86_CR0_PE)) || in nested_vmcb_check_save()
1377 svm_set_cr0(vcpu, vmcb01->save.cr0 | X86_CR0_PE); in nested_svm_vmexit()
1966 !(save->cr0 & X86_CR0_PE) || in svm_set_nested_state()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h1525 #define X86_CR0_PE (1UL<<0) /* Protection Enable */ macro
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c656 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_init_sregs()
/linux/arch/x86/include/asm/
H A Dkvm_host.h135 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \