aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc/ppc-uic.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-12-11 23:05:05 +0000
committerPeter Maydell <peter.maydell@linaro.org>2021-01-08 16:28:09 +0000
commit11863835de10df6e97dfef40e80862764eb092e0 (patch)
treebec455071dd6aa21b2452bd58deb8a438dfe6215 /include/hw/intc/ppc-uic.h
parentd5b70cc5c370b554494b09355f511b7edfcadf62 (diff)
hw/ppc/ppc405_uc: Drop use of ppcuic_init()
Switch the ppc405_uc boards to directly creating and configuring the UIC, rather than doing it via the old ppcuic_init() helper function. We retain the API feature of ppc405ep_init() where it passes back something allowing the callers to wire up devices to the UIC if they need to, even though neither of the callsites currently makes use of this ability -- instead of passing back the qemu_irq array we pass back the UIC DeviceState. This fixes a trivial Coverity-detected memory leak where we were leaking the array of IRQs returned by ppcuic_init(). Fixes: Coverity CID 1421922 Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/intc/ppc-uic.h')
0 files changed, 0 insertions, 0 deletions