Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/xen/
Dxen-pvh.S99 mov $(X86_CR0_PG | X86_CR0_PE), %eax
140 or $(X86_CR0_PG | X86_CR0_PE), %eax
152 and $~X86_CR0_PG, %eax
/Linux-v4.19/arch/x86/include/uapi/asm/
Dprocessor-flags.h72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro
164 X86_CR0_PG)
/Linux-v4.19/arch/x86/kernel/
Drelocate_kernel_32.S115 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
189 orl $X86_CR0_PG, %eax
Drelocate_kernel_64.S126 orl $(X86_CR0_PG | X86_CR0_PE), %eax
Dhead_32.S215 movl $(CR0_STATE & ~X86_CR0_PG),%eax
/Linux-v4.19/arch/x86/realmode/rm/
Dreboot.S32 andl $~X86_CR0_PG, %eax
/Linux-v4.19/arch/x86/boot/compressed/
Dhead_64.S220 movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */
619 movl $(X86_CR0_PG | X86_CR0_PE), %eax
/Linux-v4.19/arch/x86/kvm/
Dx86.h139 return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG)); in is_paging()
Dx86.c654 unsigned long update_bits = X86_CR0_PG | X86_CR0_WP; in kvm_set_cr0()
668 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_set_cr0()
671 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0()
688 if (!(cr0 & X86_CR0_PG) && kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE)) in kvm_set_cr0()
693 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_set_cr0()
7249 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
8155 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_valid_sregs()
Dvmx.c138 X86_CR0_WP | X86_CR0_PG | X86_CR0_PE)
3693 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_ctls_msrs()
5207 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
5240 if (!(cr0 & X86_CR0_PG)) { in ept_update_paging_mode_cr0()
5282 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
5284 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()
12575 ((vmcs12->guest_cr0 & X86_CR0_PG) && in check_vmentry_postreqs()
Dsvm.c2500 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()
2505 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()
2514 cr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
Demulate.c2598 ctxt->ops->set_cr(ctxt, 0, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in em_rsm()
4164 if (((new_val & X86_CR0_PG) && !(new_val & X86_CR0_PE)) || in check_cr_write()
4171 if ((new_val & X86_CR0_PG) && (efer & EFER_LME) && in check_cr_write()
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dx86.h323 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
/Linux-v4.19/tools/testing/selftests/kvm/lib/
Dx86.c628 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h85 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))