Searched refs:stval (Results 1 – 2 of 2) 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 215 .fault_vaddr = (void *)stval, in handle_user() 227 LOG_E("scause:%p,stval:%p,sepc:%p\n", scause, stval, sepc); in handle_user() 251 static int illegal_inst_recoverable(rt_ubase_t stval, in illegal_inst_recoverable() argument 255 int opcode = stval & 0x7f; in illegal_inst_recoverable() 256 int csr = (stval & 0xFFF00000) >> 20; in illegal_inst_recoverable() 258 int width = ((stval & 0x7000) >> 12) - 1; in illegal_inst_recoverable() 291 #define IN_USER_SPACE (stval >= USER_VADDR_START && stval < USER_VADDR_TOP) 338 illegal_inst_recoverable(stval, sp)) in handle_trap() 345 handle_user(scause, stval, sepc, sp); in handle_trap() [all …]
|
| A D | interrupt_gcc.S | 56 csrrc a1, stval, zero
|
Completed in 3 milliseconds