qemu/include/hw/pci
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
..
msi.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
msix.h pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci_bridge.h pci-bridge: update mappings for migration/restore 2013-07-10 12:49:26 +03:00
pci_bus.h hw/pci: partially handle pci master abort 2013-10-14 17:11:44 +03:00
pci_host.h pci: Fold host_buses list into PCIHostState functionality 2013-07-07 23:10:57 +03:00
pci_ids.h Xen PV Device 2013-07-29 11:13:44 +00:00
pci_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pci.h hw/pci: add pci wrappers for allocating and asserting irqs 2013-10-14 17:11:44 +03:00
pcie_aer.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_host.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_port.h pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
pcie_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
shpc.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
slotid_cap.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00