提交 71b23d54 编写于 作者: J John Williams 提交者: Michal Simek

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: NJohn Williams <john.williams@petalogix.com>
上级 866d7229
......@@ -384,6 +384,8 @@ handle_other_ex: /* Handle Other exceptions here */
addk r8, r17, r0; /* Load exception address */
bralid r15, full_exception; /* Branch to the handler */
nop;
mts r0, rfsr; /* Clear sticky fsr */
nop
/*
* Trigger execution of the signal handler by enabling
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册