diff options
| author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-06-21 14:34:32 -0300 |
|---|---|---|
| committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-07-06 10:22:37 -0300 |
| commit | da6be50136800dee59e22ac95a6ee10c154e1210 (patch) | |
| tree | 760227bf0f1870b573dd32dc098c5f8cb1159a30 /scripts/qapi/common.py | |
| parent | 792e8bb629c6c11e99b092d10790a6d027d7f2d2 (diff) | |
| download | focaccia-qemu-da6be50136800dee59e22ac95a6ee10c154e1210.tar.gz focaccia-qemu-da6be50136800dee59e22ac95a6ee10c154e1210.zip | |
ppc/pnv: make pnv_ics_get() use the chip8->phbs[] array
The function is working today by getting all the child objects of the chip, interacting with each of them to check whether the child is a PHB, and then doing what needs to be done. We have all the chip PHBs in the phbs[] array so interacting with all child objects is unneeded. Open code pnv_ics_get_phb_ics() into pnv_ics_get() and remove both pnv_ics_get_phb_ics() and the ForeachPhb3Args struct. 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-5-danielhb413@gmail.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions