Home
last modified time | relevance | path

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

/openbmc/qemu/target/i386/tcg/sysemu/
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.c296 env->hflags2 |= HF2_NPT_MASK; in helper_vmrun()
338 env->hflags2 |= HF2_VINTR_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()
609 env->hflags2 &= ~HF2_GIF_MASK; in helper_clgi()
765 env->hflags2 &= ~HF2_NPT_MASK; in do_vmexit()
911 env->hflags2 &= ~HF2_GIF_MASK; in do_vmexit()
[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.c68 if (!(env->hflags2 & HF2_VINTR_MASK)) { in helper_read_cr8()
111 if (!(env->hflags2 & HF2_VINTR_MASK)) { in helper_write_crN()
H A Dseg_helper.c195 env->hflags2 |= HF2_NMI_MASK; in x86_cpu_exec_interrupt()
H A Dexcp_helper.c549 bool use_stage2 = env->hflags2 & HF2_NPT_MASK; in get_physical_address()
/openbmc/qemu/target/i386/
H A Dhelper.c49 uint32_t hflags2 = env->hflags2; in cpu_sync_bndcs_hflags() local
67 hflags2 |= HF2_MPX_PR_MASK; in cpu_sync_bndcs_hflags()
69 hflags2 &= ~HF2_MPX_PR_MASK; in cpu_sync_bndcs_hflags()
73 env->hflags2 = hflags2; in cpu_sync_bndcs_hflags()
H A Dmachine.c1405 return !!(env->hflags2 & HF2_NPT_MASK); in svm_npt_needed()
1686 VMSTATE_UINT32(env.hflags2, X86CPU),
H A Dcpu.c7088 env->hflags2 |= HF2_GIF_MASK; in x86_cpu_reset_hold()
7089 env->hflags2 |= HF2_VGIF_MASK; in x86_cpu_reset_hold()
8102 if (env->hflags2 & HF2_GIF_MASK) { in x86_cpu_pending_interrupt()
8107 !(env->hflags2 & HF2_NMI_MASK)) { in x86_cpu_pending_interrupt()
8112 (((env->hflags2 & HF2_VINTR_MASK) && in x86_cpu_pending_interrupt()
8113 (env->hflags2 & HF2_HIF_MASK)) || in x86_cpu_pending_interrupt()
8114 (!(env->hflags2 & HF2_VINTR_MASK) && in x86_cpu_pending_interrupt()
8119 } else if (env->hflags2 & HF2_VGIF_MASK) { in x86_cpu_pending_interrupt()
H A Dcpu.h1701 uint32_t hflags2; /* various other flags, see HF2_xxx constants. */ member
/openbmc/qemu/target/i386/hvf/
H A Dvmx.h201 env->hflags2 &= ~HF2_NMI_MASK; in vmx_clear_nmi_blocking()
212 env->hflags2 |= HF2_NMI_MASK; in vmx_set_nmi_blocking()
H A Dhvf.c375 env->hflags2 |= HF2_NMI_MASK; in hvf_store_events()
377 env->hflags2 &= ~HF2_NMI_MASK; in hvf_store_events()
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()
/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.c1966 env->hflags2 &= ~HF2_NMI_MASK; in helper_iret_real()
2246 env->hflags2 &= ~HF2_NMI_MASK; in helper_iret_protected()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c4902 events.nmi.masked = !!(env->hflags2 & HF2_NMI_MASK); in kvm_put_vcpu_events()
4909 events.smi.smm_inside_nmi = !!(env->hflags2 & HF2_SMM_INSIDE_NMI_MASK); in kvm_put_vcpu_events()
4973 env->hflags2 |= HF2_NMI_MASK; in kvm_get_vcpu_events()
4975 env->hflags2 &= ~HF2_NMI_MASK; in kvm_get_vcpu_events()
4990 env->hflags2 |= HF2_SMM_INSIDE_NMI_MASK; in kvm_get_vcpu_events()
4992 env->hflags2 &= ~HF2_SMM_INSIDE_NMI_MASK; in kvm_get_vcpu_events()
5065 if (cpu_has_svm(env) && (env->hflags2 & HF2_GIF_MASK)) { in kvm_put_nested_state()
5111 env->hflags2 |= HF2_GIF_MASK; in kvm_get_nested_state()
5113 env->hflags2 &= ~HF2_GIF_MASK; in kvm_get_nested_state()