diff options
author | Greg Kurz <groug@kaod.org> | 2017-06-08 15:42:41 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-06-09 12:12:34 +1000 |
commit | ad265631c0a0addc06ec3c4f133e746f4dcc872a (patch) | |
tree | 9fdf4cf7b3005fa6311613c536d2a1a5a70dca80 /include | |
parent | 3b954105074b6e8ba38b609007a4c0a2f76e4d71 (diff) |
xics: introduce macros for ICP/ICS link properties
These properties are part of the XICS API. They deserve to appear
explicitely in the XICS header file.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/xics.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index 40a506eacf..31145326eb 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) |