soc: riscv: remove usage of SOC_ERET
All SOC_ERET definitions expand to the mret instruction (used to return from a trap: exception or interruption). The 'eret' instruction existed in previous RISC-V privileged specs, but it doesn't seem to be used in Zephyr (ref. RISC-V Privileged Architectures 3.2.2). Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
a1a2107b42
commit
736a1a9113
6 changed files with 3 additions and 24 deletions
|
@ -603,5 +603,4 @@ no_fp: /* make sure this is reflected in the restored mstatus */
|
|||
addi sp, sp, __z_arch_esf_t_SIZEOF
|
||||
#endif
|
||||
|
||||
/* Call SOC_ERET to exit ISR */
|
||||
SOC_ERET
|
||||
mret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue