Searched refs:X86_CR0_PG (Results 1 – 18 of 18) sorted by relevance
/Linux-v5.4/arch/x86/platform/pvh/ |
D | head.S | 88 mov $(X86_CR0_PG | X86_CR0_PE), %eax 129 or $(X86_CR0_PG | X86_CR0_PE), %eax 141 and $~X86_CR0_PG, %eax
|
/Linux-v5.4/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro 164 X86_CR0_PG)
|
/Linux-v5.4/arch/x86/kernel/ |
D | relocate_kernel_32.S | 113 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax 187 orl $X86_CR0_PG, %eax
|
D | relocate_kernel_64.S | 124 orl $(X86_CR0_PG | X86_CR0_PE), %eax
|
D | head_32.S | 215 movl $(CR0_STATE & ~X86_CR0_PG),%eax
|
/Linux-v5.4/arch/x86/realmode/rm/ |
D | reboot.S | 32 andl $~X86_CR0_PG, %eax
|
D | trampoline_64.S | 130 movl $(X86_CR0_PG | X86_CR0_WP | X86_CR0_PE), %eax
|
/Linux-v5.4/arch/x86/boot/compressed/ |
D | head_64.S | 220 movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */ 632 movl $(X86_CR0_PG | X86_CR0_PE), %eax
|
/Linux-v5.4/arch/x86/kvm/vmx/ |
D | nested.h | 268 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
|
D | vmx.c | 133 X86_CR0_WP | X86_CR0_PG | X86_CR0_PE) 2918 if (!(cr0 & X86_CR0_PG)) { in ept_update_paging_mode_cr0() 2956 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0() 2958 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()
|
D | nested.c | 2796 CC(((vmcs12->guest_cr0 & X86_CR0_PG) && in nested_vmx_check_guest_state() 6004 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_ctls_msrs()
|
/Linux-v5.4/arch/x86/kvm/ |
D | x86.h | 139 return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG)); in is_paging()
|
D | x86.c | 753 unsigned long update_bits = X86_CR0_PG | X86_CR0_WP; in kvm_set_cr0() 767 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_set_cr0() 770 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0() 787 if (!(cr0 & X86_CR0_PG) && kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE)) in kvm_set_cr0() 792 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_set_cr0() 7817 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm() 8750 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_valid_sregs()
|
D | emulate.c | 2627 ctxt->ops->set_cr(ctxt, 0, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in em_rsm() 4216 if (((new_val & X86_CR0_PG) && !(new_val & X86_CR0_PE)) || in check_cr_write() 4223 if ((new_val & X86_CR0_PG) && (efer & EFER_LME) && in check_cr_write()
|
D | svm.c | 2559 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0() 2564 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0() 2573 cr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
|
/Linux-v5.4/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 344 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
|
/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 625 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | kvm_host.h | 85 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
|