summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorAndrew Jeffery <andrewrj@au1.ibm.com>2018-09-17 17:23:11 +0930
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-10-08 15:29:30 -0500
commit988eda165254887e231a61d7031e5baf636c8c85 (patch)
treeff995361b40b896d18e132b89c191453bd6d6eae /src/include/usr
parentdc0f490b31fc43fb9da6771bfa160ed0a1e9c983 (diff)
downloadtalos-hostboot-988eda165254887e231a61d7031e5baf636c8c85.tar.gz
talos-hostboot-988eda165254887e231a61d7031e5baf636c8c85.zip
ipmi: Introduce register_for_event() interface
register_for_event() allows the IPMI PNOR implementation to indicate interest in SELs from the hiomap protocol used for managing the LPC FW space. Change-Id: I3bf6cb7f860d41a0c46755e23fd54276ae2258ff Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65938 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/ipmi/ipmiif.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H
index ee83a5923..f33c0b278 100644
--- a/src/include/usr/ipmi/ipmiif.H
+++ b/src/include/usr/ipmi/ipmiif.H
@@ -362,6 +362,15 @@ namespace IPMI
uint8_t* i_data);
/**
+ * Register a queue to receive an IPMI SEL.
+ *
+ * @param[in] i_cmd, the SEL command
+ * @param[in] i_msgq, the message queue on which to send the SEL
+ */
+ void register_for_event(const IPMI::command_t& i_cmd,
+ const msg_q_t& i_msgq);
+
+ /**
* Get the max buffer size
* @param void
*
OpenPOWER on IntegriCloud