Home
last modified time | relevance | path

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

/xen/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/xen/arch/x86/hvm/svm/
A Dsvmdebug.c128 ((!(cr4 & X86_CR4_PAE) || (efer & EFER_LMA)) && (cr3 & 0xfe0)) || in svm_vmcb_isvalid()
129 ((efer & EFER_LMA) && in svm_vmcb_isvalid()
A Dsvm.c576 if ( !(guest_efer & EFER_LMA) ) in svm_update_guest_efer()
1204 bool lm = vmcb_get_efer(vmcb) & EFER_LMA; in svm_emul_swint_injection()
1412 if ( !((vmcb_get_efer(vmcb) & EFER_LMA) && vmcb->cs.l) ) in svm_inject_event()
/xen/xen/arch/x86/hvm/
A Ddomain.c191 if ( (regs->efer & EFER_LMA) && !(regs->efer & EFER_LME) ) in arch_set_info_hvm_guest()
276 v->arch.hvm.guest_efer |= EFER_LMA; in arch_set_info_hvm_guest()
A Dhvm.c948 if ( (value & (EFER_LME | EFER_LMA)) && !p->extd.lm ) in hvm_efer_valid()
951 if ( (value & EFER_LMA) && (!(value & EFER_LME) || !cr0_pg) ) in hvm_efer_valid()
2045 value &= ~EFER_LMA; in hvm_set_efer()
2097 value |= v->arch.hvm.guest_efer & EFER_LMA; in hvm_set_efer()
2302 v->arch.hvm.guest_efer |= EFER_LMA; in hvm_set_cr0()
2338 v->arch.hvm.guest_efer &= ~EFER_LMA; in hvm_set_cr0()
/xen/xen/include/asm-x86/
A Dmsr-index.h159 #define EFER_LMA (1<<_EFER_LMA) macro
164 #define EFER_KNOWN_MASK (EFER_SCE | EFER_LME | EFER_LMA | EFER_NX | \
/xen/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c549 *val &= ~EFER_LMA; in fuzz_read_msr()
554 *val |= EFER_LMA; in fuzz_read_msr()
680 return val & EFER_LMA; in long_mode_active()
/xen/xen/arch/x86/hvm/vmx/
A Dvvmx.c1226 v->arch.hvm.guest_efer |= EFER_LMA | EFER_LME; in virtual_vmentry()
1228 v->arch.hvm.guest_efer &= ~(EFER_LMA | EFER_LME); in virtual_vmentry()
1237 !(v->arch.hvm.guest_efer & EFER_LMA) ) in virtual_vmentry()
1440 !(v->arch.hvm.guest_efer & EFER_LMA) ) in virtual_vmexit()
1456 v->arch.hvm.guest_efer |= EFER_LMA | EFER_LME; in virtual_vmexit()
1458 v->arch.hvm.guest_efer &= ~(EFER_LMA | EFER_LME); in virtual_vmexit()
A Dvmx.c1322 if ( !hvm_pae_enabled(v) || (v->arch.hvm.guest_efer & EFER_LMA) ) in vmx_load_pdptrs()
1618 if ( !(guest_efer & EFER_LMA) ) in vmx_update_guest_efer()
1631 if ( guest_efer & EFER_LMA ) in vmx_update_guest_efer()
/xen/xen/include/asm-x86/hvm/
A Dhvm.h379 #define hvm_long_mode_active(v) (!!((v)->arch.hvm.guest_efer & EFER_LMA))
/xen/xen/arch/x86/pv/
A Demul-priv-op.c873 *val &= ~(EFER_LME | EFER_LMA | in read_msr()

Completed in 54 milliseconds