Home
last modified time | relevance | path

Searched refs:X86_CR0_PG (Results 1 – 23 of 23) sorted by relevance

/linux/arch/x86/platform/pvh/
A Dhead.S148 mov $(X86_CR0_PG | X86_CR0_PE), %eax
195 or $(X86_CR0_PG | X86_CR0_PE), %eax
207 and $~X86_CR0_PG, %eax
/linux/arch/x86/include/uapi/asm/
A Dprocessor-flags.h72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro
179 X86_CR0_PG)
/linux/arch/x86/realmode/rm/
A Dtrampoline_64.S92 movl $(CR0_STATE & ~X86_CR0_PG), %eax
201 movl $(CR0_STATE & ~X86_CR0_PG), %eax
A Dreboot.S33 andl $~X86_CR0_PG, %eax
/linux/arch/x86/kernel/
A Drelocate_kernel_32.S117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
194 orl $X86_CR0_PG, %eax
A Drelocate_kernel_64.S143 orl $(X86_CR0_PG | X86_CR0_PE), %eax
A Dhead_32.S153 movl $(CR0_STATE & ~X86_CR0_PG),%eax
/linux/tools/testing/selftests/kvm/x86_64/
A Dset_sregs_test.c121 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, X86_CR0_PG); in main()
/linux/arch/x86/kvm/
A Dkvm_cache_regs.h12 #define X86_CR0_PDPTR_BITS (X86_CR0_CD | X86_CR0_NW | X86_CR0_PG)
A Dmmu.h42 #define KVM_MMU_CR0_ROLE_BITS (X86_CR0_PG | X86_CR0_WP)
A Dsmm.c318 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
609 kvm_set_cr0(vcpu, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in emulator_leave_smm()
A Dx86.h223 return likely(kvm_is_cr0_bit_set(vcpu, X86_CR0_PG)); in is_paging()
A Dx86.c1113 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_is_valid_cr0()
1130 if (!(cr0 & X86_CR0_PG)) in kvm_post_set_cr0()
1139 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_post_set_cr0()
1147 if (!(cr0 & X86_CR0_PG)) in kvm_post_set_cr0()
1170 (cr0 & X86_CR0_PG)) { in kvm_set_cr0()
1180 if (!(vcpu->arch.efer & EFER_LME) && (cr0 & X86_CR0_PG) && in kvm_set_cr0()
1185 if (!(cr0 & X86_CR0_PG) && in kvm_set_cr0()
11865 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_is_valid_sregs()
11990 bool pae = (sregs2->cr0 & X86_CR0_PG) && (sregs2->cr4 & X86_CR4_PAE) && in __set_sregs2()
12521 if (old_cr0 & X86_CR0_PG) { in kvm_vcpu_reset()
/linux/arch/x86/boot/compressed/
A Dmem_encrypt.S282 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
/linux/arch/x86/kvm/vmx/
A Dnested.h272 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
A Dvmx.c153 (KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST | X86_CR0_PG | X86_CR0_PE)
3313 old_cr0_pg = kvm_read_cr0_bits(vcpu, X86_CR0_PG); in vmx_set_cr0()
3337 if (!old_cr0_pg && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
3339 else if (old_cr0_pg && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()
3369 if (!(cr0 & X86_CR0_PG)) { in vmx_set_cr0()
3381 if ((old_cr0_pg ^ cr0) & X86_CR0_PG) in vmx_set_cr0()
3388 if (!(old_cr0_pg & X86_CR0_PG) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
A Dnested.c3155 if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG)) in nested_vmx_check_guest_state()
3159 CC(ia32e && !(vmcs12->guest_cr0 & X86_CR0_PG))) in nested_vmx_check_guest_state()
3175 CC(((vmcs12->guest_cr0 & X86_CR0_PG) && in nested_vmx_check_guest_state()
7164 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_cr_fixed()
/linux/arch/x86/kvm/svm/
A Dnested.c97 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, svm->vmcb01.ptr->save.cr4, in nested_svm_init_mmu_context()
306 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save()
1729 if (!(save->cr0 & X86_CR0_PG) || in svm_set_nested_state()
A Dsvm.c1863 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()
1869 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()
1879 hcr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
/linux/tools/testing/selftests/kvm/include/x86_64/
A Dprocessor.h1366 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
/linux/tools/testing/selftests/kvm/lib/x86_64/
A Dprocessor.c507 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_init_sregs()
/linux/arch/x86/include/asm/
A Dkvm_host.h130 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
/linux/arch/x86/kvm/mmu/
A Dmmu.c206 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, pg, X86_CR0_PG);

Completed in 119 milliseconds