summaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2016-10-18 10:06:33 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-28 09:36:58 +1100
commitd49c603b37e6c9d025f58c09f55d0c7cefe88987 (patch)
tree10a60d0bf9f920beb20398bb436c16b83eccdd0e /include/hw
parent2bb0d10aebf2018d98b9413ab960dc8d728b2f5a (diff)
downloadqemu-d49c603b37e6c9d025f58c09f55d0c7cefe88987.zip
ppc/xics: add a XICSState backlink in ICPState
The link will be used to change the API of the icp_* routines which are still using an XICSState as an argument. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/xics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h
index 573b192053..1468d6a890 100644
--- a/include/hw/ppc/xics.h
+++ b/include/hw/ppc/xics.h
@@ -117,6 +117,8 @@ struct ICPState {
uint8_t mfrr;
qemu_irq output;
bool cap_irq_xics_enabled;
+
+ XICSState *xics;
};
#define TYPE_ICS_BASE "ics-base"