Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_pagetab.c26 #define EFER_LMA 0x400 macro
50 pt_levels = (ctx.msr_efer&EFER_LMA) ? 4 : (ctx.cr4&CR4_PAE) ? 3 : 2; in xc_translate_foreign_address()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/
A Dsvmdebug.c117 ((!(cr4 & X86_CR4_PAE) || (efer & EFER_LMA)) && (cr3 & 0xfe0)) || in svm_vmcb_isvalid()
118 ((efer & EFER_LMA) && in svm_vmcb_isvalid()
134 if ( efer & ~(EFER_SCE | EFER_LME | EFER_LMA | EFER_NX | EFER_SVME | in svm_vmcb_isvalid()
A Dsvm.c607 bool_t lma = !!(v->arch.hvm_vcpu.guest_efer & EFER_LMA); in svm_update_guest_efer()
1249 bool lm = vmcb_get_efer(vmcb) & EFER_LMA; in svm_emul_swint_injection()
1461 if ( !((vmcb_get_efer(vmcb) & EFER_LMA) && vmcb->cs.l) ) in svm_inject_event()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Ddomain.c188 if ( (regs->efer & EFER_LMA) && !(regs->efer & EFER_LME) ) in arch_set_info_hvm_guest()
273 v->arch.hvm_vcpu.guest_efer |= EFER_LMA; in arch_set_info_hvm_guest()
A Dhvm.c901 if ( (value & (EFER_LME | EFER_LMA)) && !p->extd.lm ) in hvm_efer_valid()
904 if ( (value & EFER_LMA) && (!(value & EFER_LME) || !cr0_pg) ) in hvm_efer_valid()
1974 value &= ~EFER_LMA; in hvm_set_efer()
2026 value |= v->arch.hvm_vcpu.guest_efer & EFER_LMA; in hvm_set_efer()
2238 v->arch.hvm_vcpu.guest_efer |= EFER_LMA; in hvm_set_cr0()
2274 v->arch.hvm_vcpu.guest_efer &= ~EFER_LMA; in hvm_set_cr0()
4847 v->arch.hvm_vcpu.guest_efer &= ~(EFER_LMA | EFER_LME); in hvm_set_mode()
4850 v->arch.hvm_vcpu.guest_efer |= (EFER_LMA | EFER_LME); in hvm_set_mode()
/xen-4.10.0-shim-comet/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c506 *val &= ~EFER_LMA; in fuzz_read_msr()
511 *val |= EFER_LMA; in fuzz_read_msr()
627 return val & EFER_LMA; in long_mode_active()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmsr-index.h28 #define EFER_LMA (1<<_EFER_LMA) macro
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/
A Dvvmx.c1182 v->arch.hvm_vcpu.guest_efer |= EFER_LMA | EFER_LME; in virtual_vmentry()
1184 v->arch.hvm_vcpu.guest_efer &= ~(EFER_LMA | EFER_LME); in virtual_vmentry()
1193 !(v->arch.hvm_vcpu.guest_efer & EFER_LMA) ) in virtual_vmentry()
1369 !(v->arch.hvm_vcpu.guest_efer & EFER_LMA) ) in virtual_vmexit()
1385 v->arch.hvm_vcpu.guest_efer |= EFER_LMA | EFER_LME; in virtual_vmexit()
1387 v->arch.hvm_vcpu.guest_efer &= ~(EFER_LMA | EFER_LME); in virtual_vmexit()
A Dvmx.c1475 if ( !hvm_pae_enabled(v) || (v->arch.hvm_vcpu.guest_efer & EFER_LMA) ) in vmx_load_pdptrs()
1708 if ( v->arch.hvm_vcpu.guest_efer & EFER_LMA ) in vmx_update_guest_efer()
A Dvmcs.c1797 (cr4 & X86_CR4_PAE) && !(efer & EFER_LMA) ) in vmcs_dump_vcpu()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dhvm.h308 #define hvm_long_mode_active(v) (!!((v)->arch.hvm_vcpu.guest_efer & EFER_LMA))
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Demul-priv-op.c896 *val &= ~(EFER_LME | EFER_LMA | EFER_LMSLE); in read_msr()

Completed in 40 milliseconds