mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
![]() The function pnv_phb4_get_pec() exposes some internals of the PEC and PHB logic, yet it was in the higher level hw/ppc/pnv.c file for historical reasons: P8 implements the PHBs from pnv.c directly, but on P9/P10, it's done through the CEC model, which has its own file. So move pnv_phb4_get_pec() to hw/pci-host/pnv_phb4_pec.c, where it fits naturally. While at it, replace the PnvPHB4 parameter by the PnvPHB front-end, since it has all the information needed and simplify it a bit. No functional changes. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Message-Id: <20230302163715.129635-4-fbarrat@linux.ibm.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> |
||
---|---|---|
.. | ||
bonito.h | ||
designware.h | ||
dino.h | ||
gpex.h | ||
grackle.h | ||
i440fx.h | ||
ls7a.h | ||
mv64361.h | ||
pam.h | ||
pnv_phb3.h | ||
pnv_phb3_regs.h | ||
pnv_phb4.h | ||
pnv_phb4_regs.h | ||
ppce500.h | ||
q35.h | ||
remote.h | ||
sabre.h | ||
spapr.h | ||
uninorth.h | ||
xilinx-pcie.h |