aboutsummaryrefslogtreecommitdiff
path: root/include/ipmi.h
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2015-02-05 13:40:04 +1030
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-09 14:15:57 +1100
commit77e4b445025b05d4da12862e34a47519d0a64868 (patch)
treece3f89e0458b892bf1e366e6a84ff4eb9ab6a26d /include/ipmi.h
parentbe8e03e7861a9e7b9dcbc9cf0bae6aaa57916940 (diff)
downloadskiboot-77e4b445025b05d4da12862e34a47519d0a64868.zip
skiboot-77e4b445025b05d4da12862e34a47519d0a64868.tar.gz
skiboot-77e4b445025b05d4da12862e34a47519d0a64868.tar.bz2
ipmi: Implement Read Event and SEL parsing
The read event mechanism is used when the BMC has an asynchronous message for the host. It sets a flag that we read with Get Message Flags, and then we read the message using Read Event. This event message contains a SEL message. There are two OEM SEL messages we expect from the AMI BMC: - graceful power operations. This is when the BMC wants the host to power down or reboot. - PNOR Locking. When the BMC wants to access the PNOR, it requests that the host not touch it. This patch implements the parsing. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/ipmi.h')
-rw-r--r--include/ipmi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h
index 68bf5a7..df8cf99 100644
--- a/include/ipmi.h
+++ b/include/ipmi.h
@@ -223,4 +223,7 @@ void ipmi_fru_init(uint8_t fru_dev_id);
struct errorlog;
int ipmi_elog_commit(struct errorlog *elog_buf);
+/* Callback to parse an OEM SEL message */
+void ipmi_parse_sel(struct ipmi_msg *msg);
+
#endif