Home
last modified time | relevance | path

Searched refs:sepc (Results 1 – 8 of 8) sorted by relevance

/arch/riscv/mm/
Dextable.c18 fixup = search_exception_tables(regs->sepc); in fixup_exception()
20 regs->sepc = fixup->fixup; in fixup_exception()
/arch/riscv/kernel/
Dtraps.c93 do_trap_error(regs, signo, code, regs->sepc, "Oops - " str); \
131 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->sepc); in do_trap_break()
132 else if (report_bug(regs->sepc, regs) == BUG_TRAP_TYPE_WARN) in do_trap_break()
133 regs->sepc += get_break_insn_length(regs->sepc); in do_trap_break()
Dsignal.c127 frame, (void *)regs->sepc, (void *)regs->sp); in SYSCALL_DEFINE0()
202 regs->sepc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame()
211 (void *)regs->sepc, (void *)regs->ra, frame); in setup_rt_frame()
242 regs->sepc -= 0x4; in handle_signal()
274 regs->sepc -= 0x4; in do_signal()
279 regs->sepc -= 0x4; in do_signal()
Dprocess.c39 regs->sepc, regs->ra, regs->sp); in show_regs()
77 regs->sepc = pc; in start_thread()
Dperf_callchain.c71 perf_callchain_store(entry, regs->sepc); in perf_callchain_user()
Dasm-offsets.c74 OFFSET(PT_SEPC, pt_regs, sepc); in asm_offsets()
/arch/riscv/include/asm/
Dptrace.h15 unsigned long sepc; member
67 return regs->sepc; in instruction_pointer()
72 regs->sepc = val; in instruction_pointer_set()
Dprocessor.h47 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->sepc)