Home
last modified time | relevance | path

Searched refs:mepc (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/tcg/riscv64/
H A Dissue1060.S22 csrr t0, mepc
29 csrw mepc, t0
/openbmc/linux/arch/riscv/kernel/
H A Dtraps_misaligned.c200 static inline ulong get_insn(ulong mepc)
202 register ulong __mepc asm ("a2") = mepc;
/openbmc/qemu/target/riscv/
H A Dmachine.c396 VMSTATE_UINTTL(env.mepc, RISCVCPU),
H A Dop_helper.c325 target_ulong retpc = env->mepc; in helper_mret()
H A Dcpu.h236 target_ulong mepc; member
H A Dcpu_helper.c1812 env->mepc = env->pc; in riscv_cpu_do_interrupt()
H A Dcsr.c1986 *val = env->mepc; in read_mepc()
1993 env->mepc = val; in write_mepc()