Searched refs:mvien (Results 1 – 4 of 4) sorted by relevance
481 uint64_t irqs_f = env->mvip & env->mvien & ~env->mideleg & env->sie; in riscv_cpu_sirq_pending()533 irqs_f = env->mvip & (env->mvien & ~env->mideleg) & env->sie; in riscv_cpu_local_irq_pending()725 irqf = env->mvien & env->mvip & env->sie; in riscv_cpu_interrupt()1805 bool s_injected = env->mvip & (1ULL << cause) & env->mvien && in riscv_cpu_do_interrupt()
1889 *ret_val = env->mvien; in rmw_mvien64()1892 env->mvien = (env->mvien & ~mask) | (new_val & mask); in rmw_mvien64()2072 if (env->priv == PRV_S && env->mvien & MIP_SEIP && in rmw_xireg()2144 if (env->mvien & MIP_SEIP && env->priv == PRV_S) { in rmw_xtopei()2858 (env->mideleg | ~env->mvien)) | MIP_STIP; in rmw_mvip64()2860 (~env->mideleg & env->mvien); in rmw_mvip64()2875 alias_mask &= (env->mideleg | env->mvien); in rmw_mvip64()2876 nalias_mask &= (env->mideleg | env->mvien); in rmw_mvip64()3086 (~env->mideleg & env->mvien); in rmw_sie64()3332 uint64_t mask = (env->mideleg | env->mvien) & sip_writable_mask; in rmw_sip64()[all …]
419 VMSTATE_UINT64(env.mvien, RISCVCPU),
315 uint64_t mvien; member