summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/pnv_xscom.h
diff options
context:
space:
mode:
authorCédric Le Goater2019-03-07 23:35:42 +0100
committerDavid Gibson2019-03-12 04:33:04 +0100
commit6598a70d00cd3a58acbd290d52067902c64d4480 (patch)
treeda29edfde399011f605f90b5be17d900601c7d10 /include/hw/ppc/pnv_xscom.h
parentppc/pnv: add a OCC model class (diff)
downloadqemu-6598a70d00cd3a58acbd290d52067902c64d4480.tar.gz
qemu-6598a70d00cd3a58acbd290d52067902c64d4480.tar.xz
qemu-6598a70d00cd3a58acbd290d52067902c64d4480.zip
ppc/pnv: add a OCC model for POWER9
The OCC on POWER9 is very similar to the one found on POWER8. Provide the same routines with P9 values for the registers and IRQ number. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190307223548.20516-10-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/pnv_xscom.h')
-rw-r--r--include/hw/ppc/pnv_xscom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/ppc/pnv_xscom.h b/include/hw/ppc/pnv_xscom.h
index 403a365ed2..3292459fbb 100644
--- a/include/hw/ppc/pnv_xscom.h
+++ b/include/hw/ppc/pnv_xscom.h
@@ -73,6 +73,9 @@ typedef struct PnvXScomInterfaceClass {
#define PNV_XSCOM_OCC_BASE 0x0066000
#define PNV_XSCOM_OCC_SIZE 0x6000
+#define PNV9_XSCOM_OCC_BASE PNV_XSCOM_OCC_BASE
+#define PNV9_XSCOM_OCC_SIZE 0x8000
+
#define PNV9_XSCOM_PSIHB_BASE 0x5012900
#define PNV9_XSCOM_PSIHB_SIZE 0x100