summary refs log tree commit diff stats
path: root/include/hw/pci/pci.h
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2015-06-02 14:23:08 +0300
committerMichael S. Tsirkin <mst@redhat.com>2015-06-03 18:19:18 +0200
commit0639b00d055b313930c23c4d6c9ebfb4af61c00c (patch)
tree3134e8a3f7199fb8231c90cfb6e6bc72281bb057 /include/hw/pci/pci.h
parent2118196bb3795a43bf708c37bdcf4b3c33778ccb (diff)
downloadfocaccia-qemu-0639b00d055b313930c23c4d6c9ebfb4af61c00c.tar.gz
focaccia-qemu-0639b00d055b313930c23c4d6c9ebfb4af61c00c.zip
hw/pxb: add map_irq func
The bios does not index the pxb slot number when
it computes the IRQ because it resides on bus 0
and not on the current bus.
However Qemu routes the irq through bus 0 and adds
the pxb slot to the IRQ computation of the PXB device.

Synchronize between bios and Qemu by canceling
pxb's effect.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'include/hw/pci/pci.h')
0 files changed, 0 insertions, 0 deletions