Searched refs:gein (Results 1 – 2 of 2) sorted by relevance
/qemu/target/riscv/ |
H A D | cpu_helper.c | 390 uint32_t gein = get_field(env->hstatus, HSTATUS_VGEIN); in riscv_cpu_all_pending() local 391 uint64_t vsgein = (env->hgeip & (1ULL << gein)) ? MIP_VSEIP : 0; in riscv_cpu_all_pending() 659 uint64_t gein, vsgein = 0, vstip = 0, irqf = 0; in riscv_cpu_interrupt() local 665 gein = get_field(env->hstatus, HSTATUS_VGEIN); in riscv_cpu_interrupt() 666 vsgein = (env->hgeip & (1ULL << gein)) ? MIP_VSEIP : 0; in riscv_cpu_interrupt()
|
H A D | csr.c | 3064 uint32_t iid, iprio, hviid, hviprio, gein; in read_vstopi() local 3067 gein = get_field(env->hstatus, HSTATUS_VGEIN); in read_vstopi() 3071 if (gein) { in read_vstopi() 3072 vsgein = (env->hgeip & (1ULL << gein)) ? MIP_VSEIP : 0; in read_vstopi() 3074 if (gein <= env->geilen && vseip) { in read_vstopi() 3084 AIA_MAKE_IREG(ISELECT_IMSIC_TOPEI, PRV_S, true, gein, in read_vstopi()
|