mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 00:45:30 +00:00
8c41572624
The MSR (banked) and MRS (banked) instructions allow accesses to ELR_Hyp from either Monitor or Hyp mode. Our translate time check was overly strict and only permitted access from Monitor mode. The runtime check we do in msr_mrs_banked_exc_checks() had the correct code in it, but never got there because of the earlier "currmode == tgtmode" check. Special case ELR_Hyp. Backports commit aec4dd09f172ee64c19222b78269d5952fd9c1dc from qemu |
||
---|---|---|
.. | ||
arm | ||
i386 | ||
m68k | ||
mips | ||
sparc |