Searched refs:sepc (Results 1 – 2 of 2) sorted by relevance
369 unsigned long sepc; in read_sepc() local371 asm volatile("csrr %0, sepc" : "=r" (sepc)); in read_sepc()373 return sepc; in read_sepc()376 static inline __noprof void write_sepc(unsigned long sepc) in write_sepc() argument378 asm volatile("csrw sepc, %0" : : "r" (sepc)); in write_sepc()
4543 DECLARE_CSR(sepc, CSR_SEPC)