Home
last modified time | relevance | path

Searched refs:EFER_LMA (Results 1 – 7 of 7) sorted by relevance

/arch/x86/realmode/
Dinit.c80 trampoline_header->efer = efer & ~EFER_LMA; in setup_real_mode()
/arch/x86/kvm/
Dx86.h44 return vcpu->arch.efer & EFER_LMA; in is_long_mode()
Dvmx.c1658 ignore_bits |= EFER_LMA | EFER_LME; in update_transition_efer()
1660 if (guest_efer & EFER_LMA) in update_transition_efer()
1672 if (!(guest_efer & EFER_LMA)) in update_transition_efer()
3352 if (efer & EFER_LMA) { in vmx_set_efer()
3379 vmx_set_efer(vcpu, vcpu->arch.efer | EFER_LMA); in enter_lmode()
3385 vmx_set_efer(vcpu, vcpu->arch.efer & ~EFER_LMA); in exit_lmode()
8367 vcpu->arch.efer |= (EFER_LMA | EFER_LME); in prepare_vmcs02()
8369 vcpu->arch.efer &= ~(EFER_LMA | EFER_LME); in prepare_vmcs02()
8524 ia32e != !!(vmcs12->guest_ia32_efer & EFER_LMA) || in nested_vmx_run()
8543 ia32e != !!(vmcs12->host_ia32_efer & EFER_LMA) || in nested_vmx_run()
[all …]
Demulate.c1568 if (efer & EFER_LMA) in __load_segment_descriptor()
2300 if (efer & EFER_LMA) { in em_syscall()
2308 if (efer & EFER_LMA) { in em_syscall()
2348 if ((ctxt->mode != X86EMUL_MODE_PROT64) && (efer & EFER_LMA) in em_sysenter()
2367 if (efer & EFER_LMA) { in em_sysenter()
2376 ctxt->_eip = (efer & EFER_LMA) ? msr_data : (u32)msr_data; in em_sysenter()
2379 *reg_write(ctxt, VCPU_REGS_RSP) = (efer & EFER_LMA) ? msr_data : in em_sysenter()
3545 if (efer & EFER_LMA) in check_cr_write()
3556 if ((efer & EFER_LMA) && !(new_val & X86_CR4_PAE)) in check_cr_write()
Dsvm.c476 if (!npt_enabled && !(efer & EFER_LMA)) in svm_set_efer()
1557 vcpu->arch.efer |= EFER_LMA; in svm_set_cr0()
1558 svm->vmcb->save.efer |= EFER_LMA | EFER_LME; in svm_set_cr0()
1562 vcpu->arch.efer &= ~EFER_LMA; in svm_set_cr0()
1563 svm->vmcb->save.efer &= ~(EFER_LMA | EFER_LME); in svm_set_cr0()
Dx86.c80 u64 __read_mostly efer_reserved_bits = ~((u64)(EFER_SCE | EFER_LME | EFER_LMA));
974 efer &= ~EFER_LMA; in set_efer()
975 efer |= vcpu->arch.efer & EFER_LMA; in set_efer()
/arch/x86/include/uapi/asm/
Dmsr-index.h28 #define EFER_LMA (1<<_EFER_LMA) macro