aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2023-03-02 17:37:14 +0100
committerDaniel Henrique Barboza <danielhb413@gmail.com>2023-03-03 16:50:17 -0300
commitfa9dc22aecf881bb7f7e27360a06334bc219ca6f (patch)
treeee08f0d15fd8ac693a37e94a5fa29dcb183c9a78 /include/hw/ppc
parentcd9b1cf96e11befa490e0252b57d46baa33458ea (diff)
downloadqemu-fa9dc22aecf881bb7f7e27360a06334bc219ca6f.zip
qemu-fa9dc22aecf881bb7f7e27360a06334bc219ca6f.tar.gz
qemu-fa9dc22aecf881bb7f7e27360a06334bc219ca6f.tar.bz2
pnv_phb4_pec: Move pnv_phb4_get_pec() to rightful file
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>
Diffstat (limited to 'include/hw/ppc')
0 files changed, 0 insertions, 0 deletions