Searched refs:EFER_LMA (Results 1 – 12 of 12) sorted by relevance
26 #define EFER_LMA 0x400 macro50 pt_levels = (ctx.msr_efer&EFER_LMA) ? 4 : (ctx.cr4&CR4_PAE) ? 3 : 2; in xc_translate_foreign_address()
117 ((!(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()
607 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()
188 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()
901 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()
506 *val &= ~EFER_LMA; in fuzz_read_msr()511 *val |= EFER_LMA; in fuzz_read_msr()627 return val & EFER_LMA; in long_mode_active()
28 #define EFER_LMA (1<<_EFER_LMA) macro
1182 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()
1475 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()
1797 (cr4 & X86_CR4_PAE) && !(efer & EFER_LMA) ) in vmcs_dump_vcpu()
308 #define hvm_long_mode_active(v) (!!((v)->arch.hvm_vcpu.guest_efer & EFER_LMA))
896 *val &= ~(EFER_LME | EFER_LMA | EFER_LMSLE); in read_msr()
Completed in 40 milliseconds