Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dprocessor-flags.h39 #define X86_CR0_PG 0x80000000 /* Paging */ macro
Dkvm_host.h40 (X86_CR0_PG | X86_CR0_PE | X86_CR0_WP | X86_CR0_NE \
43 (X86_CR0_PG | X86_CR0_PE | X86_CR0_WP | X86_CR0_NE | X86_CR0_TS \
/arch/x86/kvm/
Dmmu.h75 return vcpu->arch.cr0 & X86_CR0_PG; in is_paging()
Dsvm.c573 save->cr0 = 0x00000010 | X86_CR0_PG | X86_CR0_WP; in init_vmcb()
830 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()
835 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()
850 cr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
1462 if ((vcpu->arch.cr0 ^ svm->vmcb->save.cr0) & X86_CR0_PG) { in handle_exit()
Dvmx.c1503 if (!(cr0 & X86_CR0_PG)) { in ept_update_paging_mode_cr0()
1511 *hw_cr0 |= X86_CR0_PE | X86_CR0_PG; in ept_update_paging_mode_cr0()
1551 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
1553 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()
Dx86.c49 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
280 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) { in kvm_set_cr0()
287 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0()
/arch/x86/boot/compressed/
Dhead_64.S174 movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */
/arch/x86/kernel/
Drelocate_kernel_32.S109 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
Drelocate_kernel_64.S185 orl $(X86_CR0_PG | X86_CR0_PE), %eax
Dhead_64.S195 X86_CR0_PG)
Dhead_32.S336 orl $X86_CR0_PG,%eax