Skip to content
Commit 970cfdb8 authored by Nathaniel Graff's avatar Nathaniel Graff Committed by Kumar Gala
Browse files

arch: riscv32: Move MEPC increment in irq_wrapper



Move the MEPC increment logic in __irq_wrapper such that the saved MEPC
is only incremented on a syscall (ecall instruction).

Signed-off-by: default avatarNathaniel Graff <nathaniel.graff@sifive.com>
parent 8cf8db3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment