/openbmc/linux/arch/x86/platform/pvh/ |
H A D | head.S | 88 mov $(X86_CR0_PG | X86_CR0_PE), %eax 119 or $(X86_CR0_PG | X86_CR0_PE), %eax 131 and $~X86_CR0_PG, %eax
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | processor-flags.h | 72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro 172 X86_CR0_PG)
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | call32.S | 44 andl $~X86_CR0_PG, %eax
|
H A D | sipi_vector.S | 53 andl $(~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_NE | \
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | processor-flags.h | 39 #define X86_CR0_PG 0x80000000 /* Paging */ macro
|
/openbmc/linux/arch/x86/realmode/rm/ |
H A D | trampoline_64.S | 90 movl $(CR0_STATE & ~X86_CR0_PG), %eax 199 movl $(CR0_STATE & ~X86_CR0_PG), %eax
|
H A D | reboot.S | 32 andl $~X86_CR0_PG, %eax
|
/openbmc/u-boot/arch/x86/cpu/i386/ |
H A D | call64.S | 70 movl $(X86_CR0_PG | X86_CR0_PE), %eax
|
/openbmc/linux/arch/x86/kernel/ |
H A D | relocate_kernel_32.S | 117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax 194 orl $X86_CR0_PG, %eax
|
H A D | relocate_kernel_64.S | 142 orl $(X86_CR0_PG | X86_CR0_PE), %eax
|
H A D | head_32.S | 166 movl $(CR0_STATE & ~X86_CR0_PG),%eax
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | set_sregs_test.c | 122 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, X86_CR0_PG); in main()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | kvm_cache_regs.h | 12 #define X86_CR0_PDPTR_BITS (X86_CR0_CD | X86_CR0_NW | X86_CR0_PG)
|
H A D | mmu.h | 42 #define KVM_MMU_CR0_ROLE_BITS (X86_CR0_PG | X86_CR0_WP)
|
H A D | smm.c | 325 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm() 617 kvm_set_cr0(vcpu, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in emulator_leave_smm()
|
H A D | x86.h | 200 return likely(kvm_is_cr0_bit_set(vcpu, X86_CR0_PG)); in is_paging()
|
H A D | x86.c | 923 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_is_valid_cr0() 940 if (!(cr0 & X86_CR0_PG)) in kvm_post_set_cr0() 949 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_post_set_cr0() 957 if (!(cr0 & X86_CR0_PG)) in kvm_post_set_cr0() 985 (cr0 & X86_CR0_PG)) { in kvm_set_cr0() 995 if (!(vcpu->arch.efer & EFER_LME) && (cr0 & X86_CR0_PG) && in kvm_set_cr0() 1000 if (!(cr0 & X86_CR0_PG) && in kvm_set_cr0() 11491 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_is_valid_sregs() 11615 bool pae = (sregs2->cr0 & X86_CR0_PG) && (sregs2->cr4 & X86_CR4_PAE) && in __set_sregs2() 12162 if (old_cr0 & X86_CR0_PG) { in kvm_vcpu_reset()
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | nested.h | 265 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
|
H A D | vmx.c | 148 (KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST | X86_CR0_PG | X86_CR0_PE) 3290 old_cr0_pg = kvm_read_cr0_bits(vcpu, X86_CR0_PG); in vmx_set_cr0() 3314 if (!old_cr0_pg && (cr0 & X86_CR0_PG)) in vmx_set_cr0() 3316 else if (old_cr0_pg && !(cr0 & X86_CR0_PG)) in vmx_set_cr0() 3346 if (!(cr0 & X86_CR0_PG)) { in vmx_set_cr0() 3358 if ((old_cr0_pg ^ cr0) & X86_CR0_PG) in vmx_set_cr0() 3365 if (!(old_cr0_pg & X86_CR0_PG) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
|
H A D | nested.c | 3065 if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG)) in nested_vmx_check_guest_state() 3069 CC(ia32e && !(vmcs12->guest_cr0 & X86_CR0_PG))) in nested_vmx_check_guest_state() 3085 CC(((vmcs12->guest_cr0 & X86_CR0_PG) && in nested_vmx_check_guest_state() 7033 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_cr_fixed()
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | mem_encrypt.S | 282 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | nested.c | 97 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, svm->vmcb01.ptr->save.cr4, in nested_svm_init_mmu_context() 300 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save() 1727 if (!(save->cr0 & X86_CR0_PG) || in svm_set_nested_state()
|
H A D | svm.c | 1884 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0() 1890 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0() 1900 hcr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 1235 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
|
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 539 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
|