Searched refs:mtval (Results 1 – 2 of 2) sorted by relevance
98 unsigned long mtval; in z_riscv_fatal_error_csf() local100 __asm__ volatile("csrr %0, mtval" : "=r" (mtval)); in z_riscv_fatal_error_csf()101 LOG_ERR(" mtval: %lx", mtval); in z_riscv_fatal_error_csf()
221 csrr t2, mtval /* get faulting instruction */