ppc/pnv: move mmbar0/mmbar1 and friends to PnvPHB4
commit1293d7352150c3f186ffe09d2024df3969df61c3
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 18 Jan 2022 11:56:31 +0000 (18 12:56 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 18 Jan 2022 11:56:31 +0000 (18 12:56 +0100)
treef6be56a36359fad6e9c35a672bec69a2e2191f1a
parent7edb9514bff1552309a51cdea4f3f2afc47fe8c0
ppc/pnv: move mmbar0/mmbar1 and friends to PnvPHB4

These 2 MemoryRegions, together with mmio(0|1)_base and mmio(0|1)_size
variables, are used together in the same functions. We're better of
moving them all in a single step.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220113192952.911188-7-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/pci-host/pnv_phb4.c
include/hw/pci-host/pnv_phb4.h