aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/xics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h
index 40a506e..3114532 100644
--- a/include/hw/ppc/xics.h
+++ b/include/hw/ppc/xics.h
@@ -86,6 +86,8 @@ struct ICPState {
XICSFabric *xics;
};
+#define ICP_PROP_XICS "xics"
+
struct PnvICPState {
ICPState parent_obj;
@@ -130,6 +132,8 @@ struct ICSState {
XICSFabric *xics;
};
+#define ICS_PROP_XICS "xics"
+
static inline bool ics_valid_irq(ICSState *ics, uint32_t nr)
{
return (ics->offset != 0) && (nr >= ics->offset)