diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-12-03 11:54:13 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-12-10 08:47:44 +0100 |
commit | ceea95cd88c8f90ad93a83bbad4a077590316342 (patch) | |
tree | 7857345653dc1848fef9a9d3e763fc73ce533296 /include/hw/i386 | |
parent | 5e7b204dbfae9a562fc73684986f936b97f63877 (diff) |
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