xics: Add xics_find_source()
commit641c349352cd3846ad164357d5a831e748d13536
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 30 May 2014 09:34:13 +0000 (30 19:34 +1000)
committerAlexander Graf <agraf@suse.de>
Fri, 27 Jun 2014 11:48:26 +0000 (27 13:48 +0200)
treeb7402fdf18694029e36e34d84bf3165df03c83e0
parent4af88944d013330910826af10aaa2ef9a2919fde
xics: Add xics_find_source()

PAPR allows having multiple interrupt sources such as PHB.

This adds a source lookup function and makes use of it.

Since at the moment QEMU only supports a single source,
no change in behaviour is expected.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/intc/xics.c