aboutsummaryrefslogtreecommitdiff
path: root/hw/core
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-22 11:46:25 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-01-20 07:25:10 +0100
commit2c6fe2e2140965d93d0f950f80eee8e559b760f3 (patch)
tree9603e589226464971262d117ed99eb6fab12a5f6 /hw/core
parent82651e8792344ccc526f505fdf1c8c56f0d18881 (diff)
downloadqemu-2c6fe2e2140965d93d0f950f80eee8e559b760f3.zip
qemu-2c6fe2e2140965d93d0f950f80eee8e559b760f3.tar.gz
qemu-2c6fe2e2140965d93d0f950f80eee8e559b760f3.tar.bz2
include/hw/ppc: Split pnv_chip.h off pnv.h
PnvChipClass, PnvChip, Pnv8Chip, Pnv9Chip, and Pnv10Chip are defined in pnv.h. Many users of the header don't actually need them. One instance is this inclusion loop: hw/ppc/pnv_homer.h includes hw/ppc/pnv.h for typedef PnvChip, and vice versa for struct PnvHomer. Similar structs live in their own headers: PnvHomerClass and PnvHomer in pnv_homer.h, PnvLpcClass and PnvLpcController in pci_lpc.h, PnvPsiClass, PnvPsi, Pnv8Psi, Pnv9Psi, Pnv10Psi in pnv_psi.h, ... Move PnvChipClass, PnvChip, Pnv8Chip, Pnv9Chip, and Pnv10Chip to new pnv_chip.h, and adjust include directives. This breaks the inclusion loop mentioned above. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20221222104628.659681-2-armbru@redhat.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions