Searched refs:mepc (Results 1 – 12 of 12) sorted by relevance
70 csrr x5, mepc72 csrw mepc, x5
122 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()
86 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()
110 ra = esf->mepc; in walk_stackframe()183 ra = esf->mepc; in walk_stackframe()
109 arch_blk.r.pc = esf->mepc; in arch_coredump_info_dump()
202 csrr t0, mepc740 csrw mepc, t0
36 unsigned long mepc; \60 unsigned long mepc; \
81 unsigned long mepc; /* machine exception program counter */ member
69 buf[idx++] = (uintptr_t)esf->mepc; in arch_perf_current_stack_trace()
112 GEN_OFFSET_STRUCT(arch_esf, mepc);
220 LOG_DBG("CPU mepc: 0x%lx", csr_read(mepc)); in get_irq()
233 LOG_DBG("CPU mepc: 0x%lx", csr_read(mepc)); in get_irq()