unicorn/qemu/target
Paolo Bonzini 0bc0ff320c
target/i386: unify masking of interrupts
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
2018-10-04 04:19:57 -04:00
..
arm target/arm: Start AArch32 CPUs with EL2 but not EL3 in Hyp mode 2018-09-25 21:19:44 -04:00
i386 target/i386: unify masking of interrupts 2018-10-04 04:19:57 -04:00
m68k target/m68k: Fix initialization of m68k targets 2018-09-03 17:04:42 -04:00
mips target/mips/cpu: Use type_register instead of type_register_static() in mips_cpu_register_types() 2018-09-03 17:36:23 -04:00
sparc target/sparc: Fix SPARC target initialization 2018-09-03 17:26:00 -04:00