Home
last modified time | relevance | path

Searched refs:hflags2 (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/target/i386/tcg/system/
H A Dfpu_helper.c34 if (ferr_irq && !(env->hflags2 & HF2_IGNNE_MASK)) { in fpu_check_raise_ferr_irq()
45 env->hflags2 &= ~HF2_IGNNE_MASK; in cpu_clear_ignne()
54 env->hflags2 |= HF2_IGNNE_MASK; in cpu_set_ignne()
H A Dsvm_helper.c136 if (likely(!(env->hflags2 & HF2_NPT_MASK)) || !(env->efer & MSR_EFER_LMA)) { in virtual_vm_load_save_enabled()
296 env->hflags2 |= HF2_NPT_MASK; in helper_vmrun()
336 env->hflags2 &= ~(HF2_HIF_MASK | HF2_VINTR_MASK); in helper_vmrun()
338 env->hflags2 |= HF2_VINTR_MASK; in helper_vmrun()
340 env->hflags2 |= HF2_HIF_MASK; in helper_vmrun()
403 env->hflags2 |= HF2_GIF_MASK; in helper_vmrun()
410 env->hflags2 |= HF2_VGIF_MASK; in helper_vmrun()
595 env->hflags2 |= HF2_VGIF_MASK; in helper_stgi()
597 env->hflags2 |= HF2_GIF_MASK; in helper_stgi()
607 env->hflags2 &= ~HF2_VGIF_MASK; in helper_clgi()
[all …]
H A Dsmm_helper.c48 if (env->hflags2 & HF2_NMI_MASK) { in do_smm_enter()
49 env->hflags2 |= HF2_SMM_INSIDE_NMI_MASK; in do_smm_enter()
51 env->hflags2 |= HF2_NMI_MASK; in do_smm_enter()
311 if ((env->hflags2 & HF2_SMM_INSIDE_NMI_MASK) == 0) { in helper_rsm()
312 env->hflags2 &= ~HF2_NMI_MASK; in helper_rsm()
314 env->hflags2 &= ~HF2_SMM_INSIDE_NMI_MASK; in helper_rsm()
H A Dmisc_helper.c69 if (!(env->hflags2 & HF2_VINTR_MASK)) { in helper_read_cr8()
112 if (!(env->hflags2 & HF2_VINTR_MASK)) { in helper_write_crN()
H A Dseg_helper.c196 env->hflags2 |= HF2_NMI_MASK; in x86_cpu_exec_interrupt()
H A Dexcp_helper.c552 bool use_stage2 = env->hflags2 & HF2_NPT_MASK; in get_physical_address()
/openbmc/qemu/target/i386/
H A Dhelper.c52 uint32_t hflags2 = env->hflags2; in cpu_sync_bndcs_hflags() local
70 hflags2 |= HF2_MPX_PR_MASK; in cpu_sync_bndcs_hflags()
72 hflags2 &= ~HF2_MPX_PR_MASK; in cpu_sync_bndcs_hflags()
76 env->hflags2 = hflags2; in cpu_sync_bndcs_hflags()
H A Dmachine.c1404 return !!(env->hflags2 & HF2_NPT_MASK); in svm_npt_needed()
1704 VMSTATE_UINT32(env.hflags2, X86CPU),
H A Dcpu.c8624 env->hflags2 |= HF2_GIF_MASK; in x86_cpu_reset_hold()
8625 env->hflags2 |= HF2_VGIF_MASK; in x86_cpu_reset_hold()
9794 if (env->hflags2 & HF2_GIF_MASK) { in x86_cpu_pending_interrupt()
9799 !(env->hflags2 & HF2_NMI_MASK)) { in x86_cpu_pending_interrupt()
9804 (((env->hflags2 & HF2_VINTR_MASK) && in x86_cpu_pending_interrupt()
9805 (env->hflags2 & HF2_HIF_MASK)) || in x86_cpu_pending_interrupt()
9806 (!(env->hflags2 & HF2_VINTR_MASK) && in x86_cpu_pending_interrupt()
9810 } else if (env->hflags2 & HF2_VGIF_MASK) { in x86_cpu_pending_interrupt()
H A Dcpu.h1851 uint32_t hflags2; /* various other flags, see HF2_xxx constants. */ member
/openbmc/qemu/target/i386/hvf/
H A Dvmx.h202 env->hflags2 &= ~HF2_NMI_MASK; in vmx_clear_nmi_blocking()
213 env->hflags2 |= HF2_NMI_MASK; in vmx_set_nmi_blocking()
H A Dx86hvf.c380 if (!(env->hflags2 & HF2_NMI_MASK) || intr_type != VMCS_INTR_T_NMI) { in hvf_inject_interrupts()
399 if (!(env->hflags2 & HF2_NMI_MASK) && !(info & VMCS_INTR_VALID)) { in hvf_inject_interrupts()
H A Dhvf.c411 env->hflags2 |= HF2_NMI_MASK; in hvf_store_events()
413 env->hflags2 &= ~HF2_NMI_MASK; in hvf_store_events()
/openbmc/qemu/target/i386/tcg/
H A Dmpx_helper.c135 if (!(env->hflags2 & HF2_MPX_PR_MASK)) { in helper_bnd_jmp()
H A Dseg_helper.c1993 env->hflags2 &= ~HF2_NMI_MASK; in helper_iret_real()
2274 env->hflags2 &= ~HF2_NMI_MASK; in helper_iret_protected()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c5079 events.nmi.masked = !!(env->hflags2 & HF2_NMI_MASK); in kvm_put_vcpu_events()
5086 events.smi.smm_inside_nmi = !!(env->hflags2 & HF2_SMM_INSIDE_NMI_MASK); in kvm_put_vcpu_events()
5150 env->hflags2 |= HF2_NMI_MASK; in kvm_get_vcpu_events()
5152 env->hflags2 &= ~HF2_NMI_MASK; in kvm_get_vcpu_events()
5167 env->hflags2 |= HF2_SMM_INSIDE_NMI_MASK; in kvm_get_vcpu_events()
5169 env->hflags2 &= ~HF2_SMM_INSIDE_NMI_MASK; in kvm_get_vcpu_events()
5242 if (cpu_has_svm(env) && (env->hflags2 & HF2_GIF_MASK)) { in kvm_put_nested_state()
5288 env->hflags2 |= HF2_GIF_MASK; in kvm_get_nested_state()
5290 env->hflags2 &= ~HF2_GIF_MASK; in kvm_get_nested_state()