Home
last modified time | relevance | path

Searched refs:MSTATUS_MIE (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/arch/riscv/include/asm/
H A Dencoding.h19 #define MSTATUS_MIE 0x00000008 macro
/openbmc/qemu/target/riscv/
H A Dcpu_helper.c517 (env->priv == PRV_M && get_field(env->mstatus, MSTATUS_MIE)); in riscv_cpu_local_irq_pending()
2005 s = set_field(s, MSTATUS_MPIE, get_field(s, MSTATUS_MIE)); in riscv_cpu_do_interrupt()
2007 s = set_field(s, MSTATUS_MIE, 0); in riscv_cpu_do_interrupt()
H A Dcpu_bits.h542 #define MSTATUS_MIE 0x00000008 macro
H A Dop_helper.c345 mstatus = set_field(mstatus, MSTATUS_MIE, in helper_mret()
H A Dcpu.c944 env->mstatus &= ~(MSTATUS_MIE | MSTATUS_MPRV); in riscv_cpu_reset_hold()
H A Dcsr.c1618 mask = MSTATUS_SIE | MSTATUS_SPIE | MSTATUS_MIE | MSTATUS_MPIE | in write_mstatus()