mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-11-26 21:06:17 +00:00
Interrupt handling depends on various flags in env->hflags or env->hflags2, and the exact detail were not exactly replicated between x86_cpu_has_work and x86_cpu_exec_interrupt. Create a new function that extracts the highest-priority non-masked interrupt, and use it in both functions. Backports commit 92d5f1a4147c3722b5e9a8bcfb7dc261b7a8b855 from qemu |
||
|---|---|---|
| .. | ||
| arm | ||
| i386 | ||
| m68k | ||
| mips | ||
| sparc | ||