summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater2019-03-07 23:35:43 +0100
committerDavid Gibson2019-03-12 04:33:04 +0100
commit90ef386c74b1b2c485b69a1bdb24895bebd45502 (patch)
tree4d05f388177bf414596ba74e64ed18ee16b1bbe3 /include
parentppc/pnv: add a OCC model for POWER9 (diff)
downloadqemu-90ef386c74b1b2c485b69a1bdb24895bebd45502.tar.gz
qemu-90ef386c74b1b2c485b69a1bdb24895bebd45502.tar.xz
qemu-90ef386c74b1b2c485b69a1bdb24895bebd45502.zip
ppc/pnv: extend XSCOM core support for POWER9
Provide a new class attribute to define XSCOM operations per CPU family and add a couple of XSCOM addresses controlling the power management states of the core on POWER9. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190307223548.20516-11-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/pnv_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/pnv_core.h b/include/hw/ppc/pnv_core.h
index 6874bb847a..cbe9ad36f3 100644
--- a/include/hw/ppc/pnv_core.h
+++ b/include/hw/ppc/pnv_core.h
@@ -42,6 +42,8 @@ typedef struct PnvCore {
typedef struct PnvCoreClass {
DeviceClass parent_class;
+
+ const MemoryRegionOps *xscom_ops;
} PnvCoreClass;
#define PNV_CORE_TYPE_SUFFIX "-" TYPE_PNV_CORE