Home
last modified time | relevance | path

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

/freebsd/sys/riscv/riscv/
H A Dtrap.c233 frame->tf_scause & SCAUSE_CODE); in page_fault_handler()
256 if (frame->tf_scause == SCAUSE_STORE_PAGE_FAULT) { in page_fault_handler()
258 } else if (frame->tf_scause == SCAUSE_INST_PAGE_FAULT) { in page_fault_handler()
276 frame->tf_scause & SCAUSE_CODE); in page_fault_handler()
297 handled = kdb_trap(frame->tf_scause & SCAUSE_CODE, 0, frame); in page_fault_handler()
318 exception = frame->tf_scause & SCAUSE_CODE; in do_trap_supervisor()
319 if ((frame->tf_scause & SCAUSE_INTR) != 0) { in do_trap_supervisor()
399 exception = frame->tf_scause & SCAUSE_CODE; in do_trap_user()
400 if ((frame->tf_scause & SCAUSE_INTR) != 0) { in do_trap_user()
H A Ddb_trace.c93 if ((tf->tf_scause & SCAUSE_INTR) != 0) { in db_stack_trace_cmd()
95 tf->tf_scause & SCAUSE_CODE); in db_stack_trace_cmd()
96 } else if (tf->tf_scause == SCAUSE_ECALL_USER) { in db_stack_trace_cmd()
102 tf->tf_scause & SCAUSE_CODE, in db_stack_trace_cmd()
H A Dgdb_machdep.c54 case GDB_REG_SCAUSE: return (&kdb_frame->tf_scause); in gdb_cpu_getreg()
99 case GDB_REG_SCAUSE: kdb_frame->tf_scause = regval; break; in gdb_cpu_setreg()
H A Dintc.c273 KASSERT((frame->tf_scause & SCAUSE_INTR) != 0, in intc_intr()
276 active_irq = frame->tf_scause & SCAUSE_CODE; in intc_intr()
H A Ddb_interface.c99 { "scause", DB_OFFSET(tf_scause), db_frame },
H A Dgenassym.c98 ASSYM(TF_SCAUSE, offsetof(struct trapframe, tf_scause));
/freebsd/sys/riscv/include/
H A Dframe.h57 uint64_t tf_scause; member