aboutsummaryrefslogtreecommitdiff
path: root/include/opal.h
diff options
context:
space:
mode:
authorJeremy Kerr <jeremy.kerr@au.ibm.com>2014-10-23 16:14:08 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-30 16:35:38 +1100
commitb118964db9acd6a36ae1ffe70c09715479a58095 (patch)
tree950ff7dca8fab0fc556451472e5fd00c46faafbd /include/opal.h
parentba41a2a1d0cd456c68918a79e88a1989d1de1649 (diff)
downloadskiboot-b118964db9acd6a36ae1ffe70c09715479a58095.zip
skiboot-b118964db9acd6a36ae1ffe70c09715479a58095.tar.gz
skiboot-b118964db9acd6a36ae1ffe70c09715479a58095.tar.bz2
opal: Add facility for dynamic event bits
We steal opal_update_pending_evt's lock for protecting the allocated dynamic event mask. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/opal.h b/include/opal.h
index 347e171..8a833df 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -921,6 +921,8 @@ extern struct dt_node *opal_node;
extern void opal_table_init(void);
extern void opal_update_pending_evt(uint64_t evt_mask, uint64_t evt_values);
+uint64_t opal_dynamic_event_alloc(void);
+void opal_dynamic_event_free(uint64_t event);
extern void add_opal_node(void);
#define opal_register(token, func, nargs) \