summaryrefslogtreecommitdiffstats
path: root/hw/pci-host/pnv_phb3.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza2022-06-21 19:34:33 +0200
committerDaniel Henrique Barboza2022-07-06 15:22:37 +0200
commitca45948991c1d22b30197cc741799f2543d42c37 (patch)
treec738ee1560691b98cd6aff698587ce0a08c9fb04 /hw/pci-host/pnv_phb3.c
parentppc/pnv: make pnv_ics_get() use the chip8->phbs[] array (diff)
downloadqemu-ca45948991c1d22b30197cc741799f2543d42c37.tar.gz
qemu-ca45948991c1d22b30197cc741799f2543d42c37.tar.xz
qemu-ca45948991c1d22b30197cc741799f2543d42c37.zip
ppc/pnv: make pnv_ics_resend() use chip8->phbs[]
pnv_ics_resend() is scrolling through all the child objects of the chip to search for the PHBs. It's faster and simpler to just use the phbs[] array. pnv_ics_resend_child() was folded into pnv_ics_resend() since it's too simple to justify its own function. Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220621173436.165912-6-danielhb413@gmail.com>
Diffstat (limited to 'hw/pci-host/pnv_phb3.c')
0 files changed, 0 insertions, 0 deletions