mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
include/hw/ppc: Don't include hw/pci-host/pnv_phb.h from pnv.h
The next commit needs to include hw/ppc/pnv.h from hw/pci-host/pnv_phb.h. Avoid an inclusion loop. 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-4-armbru@redhat.com>
This commit is contained in:
parent
14f11a204c
commit
c0a5a477f1
3 changed files with 5 additions and 2 deletions
|
@ -25,7 +25,6 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "hw/ipmi/ipmi.h"
|
||||
#include "hw/ppc/pnv_pnor.h"
|
||||
#include "hw/pci-host/pnv_phb.h"
|
||||
|
||||
#define TYPE_PNV_CHIP "pnv-chip"
|
||||
|
||||
|
@ -59,6 +58,8 @@ DECLARE_INSTANCE_CHECKER(PnvChip, PNV_CHIP_POWER10,
|
|||
|
||||
PowerPCCPU *pnv_chip_find_cpu(PnvChip *chip, uint32_t pir);
|
||||
|
||||
typedef struct PnvPHB PnvPHB;
|
||||
|
||||
#define TYPE_PNV_MACHINE MACHINE_TYPE_NAME("powernv")
|
||||
typedef struct PnvMachineClass PnvMachineClass;
|
||||
typedef struct PnvMachineState PnvMachineState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue