lib: Redirect unhandled traps from non-M modes to S mode
In case we didn't handle a trap with one of the available
handlers, check if the trap comes from S or U mode and
redirect it to S mode's trap handler.
Signed-off-by:
Nick Kossifidis <mick@ics.forth.gr>
parent
194dbbe5
Please register or sign in to comment