]> Git Repo - qemu.git/commit
hw/pxb: add map_irq func
authorMarcel Apfelbaum <[email protected]>
Tue, 2 Jun 2015 11:23:08 +0000 (14:23 +0300)
committerMichael S. Tsirkin <[email protected]>
Wed, 3 Jun 2015 16:19:18 +0000 (18:19 +0200)
commit0639b00d055b313930c23c4d6c9ebfb4af61c00c
tree3134e8a3f7199fb8231c90cfb6e6bc72281bb057
parent2118196bb3795a43bf708c37bdcf4b3c33778ccb
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 <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Laszlo Ersek <[email protected]>
hw/pci-bridge/pci_expander_bridge.c
This page took 0.02322 seconds and 4 git commands to generate.