mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 23:16:50 +00:00
In do_v7m_exception_exit(), we use the exc_secure variable to track whether the exception we're returning from is secure or non-secure. Unfortunately the statement initializing this was accidentally inside an "if (env->v7m.exception != ARMV7M_EXCP_NMI)" conditional, which meant that we were using the wrong value for NMI handlers. Move the initialization out to the right place. Backports commit b8109608bc6f3337298d44ac4369bf0bc8c3a1e4 from qemu |
||
---|---|---|
.. | ||
arm | ||
i386 | ||
m68k | ||
mips | ||
sparc |