summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorGerd Hoffmann2020-12-03 11:54:13 +0100
committerGerd Hoffmann2020-12-10 08:47:44 +0100
commitceea95cd88c8f90ad93a83bbad4a077590316342 (patch)
tree7857345653dc1848fef9a9d3e763fc73ce533296 /include/hw/i386
parentMerge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff)
downloadqemu-ceea95cd88c8f90ad93a83bbad4a077590316342.tar.gz
qemu-ceea95cd88c8f90ad93a83bbad4a077590316342.tar.xz
qemu-ceea95cd88c8f90ad93a83bbad4a077590316342.zip
x86: rewrite gsi_handler()
Rewrite function to use switch() for IRQ number mapping. Check i8259_irq exists before raising it so the function also works in case no i8259 (aka pic) is present. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 20201203105423.10431-3-kraxel@redhat.com
Diffstat (limited to 'include/hw/i386')
0 files changed, 0 insertions, 0 deletions