Commit d63678d6 authored by John Williams's avatar John Williams Committed by Michal Simek
Browse files

microblaze: Clear sticky FSR register after generating exception signals



FSR is sticky, so after the userspace exception/signal generation, clear
it ready for next time.
Signed-off-by: default avatarJohn Williams <john.williams@petalogix.com>
parent 97c853eb
...@@ -380,6 +380,8 @@ handle_other_ex: /* Handle Other exceptions here */ ...@@ -380,6 +380,8 @@ handle_other_ex: /* Handle Other exceptions here */
addk r8, r17, r0; /* Load exception address */ addk r8, r17, r0; /* Load exception address */
bralid r15, full_exception; /* Branch to the handler */ bralid r15, full_exception; /* Branch to the handler */
nop; nop;
mts r0, rfsr; /* Clear sticky fsr */
nop
/* /*
* Trigger execution of the signal handler by enabling * Trigger execution of the signal handler by enabling
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment