Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14ef905b authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Fix MSR flags when returning from exception



The issue was that the service routine was sometimes
returning with the wrong flags set in the MSR.

In this case, EIP bit was set while returning to User Mode
which is an illegal combination since exceptions are always
handled in privileged mode.

In order for MicroBlaze to take an interrupt, the MSR must have IE=1,
BIP=0 and EIP=0.

Signed-off-by: default avatarStefan Asserhall <stefana@xilinx.com>
Signed-off-by: default avatarGoran Bilski <goran@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent faf154cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment