Home
last modified time | relevance | path

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

/Zephyr-latest/soc/neorv32/
Dreset.S70 csrr x5, mepc
72 csrw mepc, x5
/Zephyr-latest/arch/riscv/core/
Dfatal.c122 LOG_ERR(" mepc: " PR_REG, esf->mepc); in z_riscv_fatal_error_csf()
217 if (esf->mepc >= start && esf->mepc < end) { in _Fault()
218 esf->mepc = (unsigned long)exceptions[i].fixup; in _Fault()
Dthread.c86 stack_init->mepc = (unsigned long)k_thread_user_mode_enter; in arch_new_thread()
90 stack_init->mepc = (unsigned long)z_thread_entry; in arch_new_thread()
169 csr_write(mepc, z_thread_entry); in arch_user_mode_enter()
Dstacktrace.c110 ra = esf->mepc; in walk_stackframe()
183 ra = esf->mepc; in walk_stackframe()
Dcoredump.c109 arch_blk.r.pc = esf->mepc; in arch_coredump_info_dump()
Disr.S202 csrr t0, mepc
740 csrw mepc, t0
/Zephyr-latest/soc/nordic/common/vpr/
Dsoc_isr_stacking.h36 unsigned long mepc; \
60 unsigned long mepc; \
/Zephyr-latest/include/zephyr/arch/riscv/
Dexception.h81 unsigned long mepc; /* machine exception program counter */ member
/Zephyr-latest/subsys/profiling/perf/backends/
Dperf_riscv.c69 buf[idx++] = (uintptr_t)esf->mepc; in arch_perf_current_stack_trace()
/Zephyr-latest/arch/riscv/core/offsets/
Doffsets.c112 GEN_OFFSET_STRUCT(arch_esf, mepc);
/Zephyr-latest/drivers/interrupt_controller/
Dintc_ite_it8xxx2_v2.c220 LOG_DBG("CPU mepc: 0x%lx", csr_read(mepc)); in get_irq()
Dintc_ite_it8xxx2.c233 LOG_DBG("CPU mepc: 0x%lx", csr_read(mepc)); in get_irq()