Searched refs:scause (Results 1 – 4 of 4) sorted by relevance
| /libcpu/risc-v/common64/ |
| A D | trap.c | 157 void handle_user(rt_ubase_t scause, rt_ubase_t stval, rt_ubase_t sepc, in handle_user() argument 160 rt_ubase_t id = __MASKVALUE(scause, __MASK(63UL)); in handle_user() 227 LOG_E("scause:%p,stval:%p,sepc:%p\n", scause, stval, sepc); in handle_user() 299 rt_ubase_t id = __MASKVALUE(scause, __MASK(63UL)); in handle_trap() 303 if ((SCAUSE_INTERRUPT & scause) && in handle_trap() 304 SCAUSE_S_EXTERNAL_INTR == (scause & 0xff)) in handle_trap() 310 else if ((SCAUSE_INTERRUPT | SCAUSE_S_TIMER_INTR) == scause) in handle_trap() 319 if (SCAUSE_INTERRUPT & scause) in handle_trap() 335 if (scause == 0x2) in handle_trap() 345 handle_user(scause, stval, sepc, sp); in handle_trap() [all …]
|
| A D | interrupt_gcc.S | 45 csrr t0, scause
|
| A D | encoding.h | 1183 DECLARE_CSR(scause, CSR_SCAUSE)
|
| /libcpu/risc-v/rv64/ |
| A D | encoding.h | 1166 DECLARE_CSR(scause, CSR_SCAUSE)
|
Completed in 18 milliseconds