aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2022-01-18 12:56:31 +0100
committerCédric Le Goater <clg@kaod.org>2022-01-18 12:56:31 +0100
commit293a1d27e34810dfa70193b480d0ac265801f1f3 (patch)
tree0383866d58534d23629345e941b386f713f1498d /include/hw
parent867683d86e3c88b07034d891937a3535ace5ff38 (diff)
downloadqemu-293a1d27e34810dfa70193b480d0ac265801f1f3.zip
qemu-293a1d27e34810dfa70193b480d0ac265801f1f3.tar.gz
qemu-293a1d27e34810dfa70193b480d0ac265801f1f3.tar.bz2
ppc/pnv: move phb_regs_mr to PnvPHB4
After recent changes, this MemoryRegion can be migrated to PnvPHB4 without too much trouble. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220113192952.911188-11-danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/pci-host/pnv_phb4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
index 1d53dda..6968efa 100644
--- a/include/hw/pci-host/pnv_phb4.h
+++ b/include/hw/pci-host/pnv_phb4.h
@@ -117,6 +117,9 @@ struct PnvPHB4 {
uint64_t nest_regs[PHB4_PEC_NEST_STK_REGS_COUNT];
MemoryRegion nest_regs_mr;
+ /* PHB pass-through XSCOM */
+ MemoryRegion phb_regs_mr;
+
/* Memory windows from PowerBus to PHB */
MemoryRegion phbbar;
MemoryRegion intbar;
@@ -170,9 +173,6 @@ struct PnvPhb4PecStack {
/* My own stack number */
uint32_t stack_no;
- /* PHB pass-through XSCOM */
- MemoryRegion phb_regs_mr;
-
/* The owner PEC */
PnvPhb4PecState *pec;