aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-uhci.h
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2021-10-25 13:33:49 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-11-02 14:32:32 +0100
commite4f5b93986cdcc137487ebea6e84b9d9e82e0990 (patch)
treea8f9f4f6caa720e97d56334f7a4deaf538bade51 /hw/usb/hcd-uhci.h
parentece29df33b8e0e35760c4f76b0cf7b1af928b0b4 (diff)
downloadqemu-e4f5b93986cdcc137487ebea6e84b9d9e82e0990.zip
qemu-e4f5b93986cdcc137487ebea6e84b9d9e82e0990.tar.gz
qemu-e4f5b93986cdcc137487ebea6e84b9d9e82e0990.tar.bz2
usb/uhci: Replace pci_set_irq with qemu_set_irq
Instead of using pci_set_irq, store the irq in the device state and use it explicitly so variants having different interrupt handling can use their own. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <b39066e03c8731f4197d50bc79b403f797599999.1635161629.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/usb/hcd-uhci.h')
-rw-r--r--hw/usb/hcd-uhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-uhci.h b/hw/usb/hcd-uhci.h
index 316693f..c85ab78 100644
--- a/hw/usb/hcd-uhci.h
+++ b/hw/usb/hcd-uhci.h
@@ -60,7 +60,7 @@ typedef struct UHCIState {
uint32_t frame_bandwidth;
bool completions_only;
UHCIPort ports[NB_PORTS];
-
+ qemu_irq irq;
/* Interrupts that should be raised at the end of the current frame. */
uint32_t pending_int_mask;