Searched refs:EFER_LMA (Results 1 – 11 of 11) 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()
128 ((!(cr4 & X86_CR4_PAE) || (efer & EFER_LMA)) && (cr3 & 0xfe0)) || in svm_vmcb_isvalid()129 ((efer & EFER_LMA) && in svm_vmcb_isvalid()
576 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()
191 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()
948 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()
159 #define EFER_LMA (1<<_EFER_LMA) macro164 #define EFER_KNOWN_MASK (EFER_SCE | EFER_LME | EFER_LMA | EFER_NX | \
549 *val &= ~EFER_LMA; in fuzz_read_msr()554 *val |= EFER_LMA; in fuzz_read_msr()680 return val & EFER_LMA; in long_mode_active()
1226 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()
1322 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()
379 #define hvm_long_mode_active(v) (!!((v)->arch.hvm.guest_efer & EFER_LMA))
873 *val &= ~(EFER_LME | EFER_LMA | in read_msr()
Completed in 54 milliseconds