diff options
author | Daniel Henrique Barboza | 2022-01-18 12:56:31 +0100 |
---|---|---|
committer | Cédric Le Goater | 2022-01-18 12:56:31 +0100 |
commit | 33fa43e0538d34b9fd3bcf63e150c14c68f74a8d (patch) | |
tree | 421feda705a33889f368d6ec29db2a98ab22fda4 /include/hw/pci-host/pnv_phb4.h | |
parent | ppc/pnv: make PECs create and realize PHB4s (diff) | |
download | qemu-33fa43e0538d34b9fd3bcf63e150c14c68f74a8d.tar.gz qemu-33fa43e0538d34b9fd3bcf63e150c14c68f74a8d.tar.xz qemu-33fa43e0538d34b9fd3bcf63e150c14c68f74a8d.zip |
ppc/pnv: remove PnvPhb4PecStack object
All the complexity that was scattered between PnvPhb4PecStack and
PnvPHB4 are now centered in the PnvPHB4 device. PnvPhb4PecStack does not
serve any purpose in the current code base.
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220114180719.52117-8-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/pci-host/pnv_phb4.h')
-rw-r--r-- | include/hw/pci-host/pnv_phb4.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h index e750165e77..74fdec2b47 100644 --- a/include/hw/pci-host/pnv_phb4.h +++ b/include/hw/pci-host/pnv_phb4.h @@ -164,23 +164,6 @@ extern const MemoryRegionOps pnv_phb4_xscom_ops; #define TYPE_PNV_PHB4_PEC "pnv-phb4-pec" OBJECT_DECLARE_TYPE(PnvPhb4PecState, PnvPhb4PecClass, PNV_PHB4_PEC) -#define TYPE_PNV_PHB4_PEC_STACK "pnv-phb4-pec-stack" -OBJECT_DECLARE_SIMPLE_TYPE(PnvPhb4PecStack, PNV_PHB4_PEC_STACK) - -/* Per-stack data */ -struct PnvPhb4PecStack { - DeviceState parent; - - /* The owner PEC */ - PnvPhb4PecState *pec; - - /* - * PHB4 pointer. pnv_phb4_update_regions() needs to access - * the PHB4 via a PnvPhb4PecStack pointer. - */ - PnvPHB4 *phb; -}; - struct PnvPhb4PecState { DeviceState parent; |