aboutsummaryrefslogtreecommitdiff
path: root/target/i386/xsave_helper.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-08-21 15:31:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-02 19:09:12 +0200
commit92d5f1a4147c3722b5e9a8bcfb7dc261b7a8b855 (patch)
treea82c08f864204798283f7621c2c7ffd9458275d2 /target/i386/xsave_helper.c
parent27e18b8952f8b7a1e26350846f8a0d5a9b33bfb8 (diff)
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. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/xsave_helper.c')
0 files changed, 0 insertions, 0 deletions