xemu/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
..
Makefile.objs pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
msi.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
msix.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
pci_bridge.c qdev: Pass size to qbus_create_inplace() 2013-08-30 21:15:35 +02:00
pci_host.c pci: add config space access traces 2013-08-28 10:11:23 +03:00
pci-hotplug-old.c scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline() 2013-07-23 00:37:35 +02:00
pci-stub.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci.c hw/pci: add pci wrappers for allocating and asserting irqs 2013-10-14 17:11:44 +03:00
pcie_aer.c pci: Replace pci_find_domain() with more general pci_root_bus_path() 2013-07-07 23:10:57 +03:00
pcie_host.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
pcie_port.c pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
pcie.c pci-bridge: Turn PCIBridge into abstract QOM type 2013-07-29 20:44:47 +02:00
shpc.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
slotid_cap.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00