Marcel Apfelbaum d98f08f54e hw/pci: add pci wrappers for allocating and asserting irqs
Interrupt pin is selected and saved into PCI_INTERRUPT_PIN
register during device initialization. Devices should not call
directly qemu_set_irq and specify the INTx pin on each call.

Added pci_* wrappers to replace qemu_set_irq, qemu_irq_raise,
qemu_irq_lower and qemu_irq_pulse, setting the irq
based on PCI_INTERRUPT_PIN.

Added pci_allocate_irq wrapper to be used by devices that
still need PCIDevice infrastructure to assert irqs.

Renamed a static method which was named already pci_set_irq.

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-10-14 17:11:44 +03:00
..
2013-09-15 11:49:50 +03:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:33:32 -05:00
2013-09-06 15:25:09 +02:00
2013-09-03 12:30:51 -05:00
2013-09-03 12:33:32 -05:00
2013-09-11 14:46:52 -05:00
2013-07-29 21:06:57 +02:00
2013-07-29 21:07:02 +02:00
2013-09-03 12:30:51 -05:00
2013-07-31 23:25:41 +02:00
2013-09-09 18:42:22 +02:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:33:32 -05:00
2013-08-28 10:16:47 +03:00
2013-09-03 12:31:07 -05:00
2013-07-29 21:07:01 +02:00
2013-08-22 19:10:27 +02:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:31:07 -05:00