aboutsummaryrefslogtreecommitdiff
path: root/include/opal.h
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2014-10-23 16:14:09 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-30 16:35:51 +1100
commitb2a374da98aa710b4c55556f9a9047d4d4a8665d (patch)
tree31055569f5e456f721f011d2646be7ee6b1e9f57 /include/opal.h
parentb118964db9acd6a36ae1ffe70c09715479a58095 (diff)
downloadskiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.zip
skiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.tar.gz
skiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.tar.bz2
ipmi: Add an opal interface to the ipmi stack
This patch adds two opal calls (opal_ipmi_send and opal_ipmi_recv) to allow an operating system to send and receive arbitrary ipmi messages to the BMC. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h
index 8a833df..730aee7 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -36,6 +36,7 @@
#define OPAL_HARDWARE_FROZEN -13
#define OPAL_WRONG_STATE -14
#define OPAL_ASYNC_COMPLETION -15
+#define OPAL_EMPTY -16
/* API Tokens (in r0) */
#define OPAL_TEST 0
@@ -142,7 +143,9 @@
#define OPAL_READ_TPO 104
#define OPAL_GET_DPO_STATUS 105
#define OPAL_I2C_REQUEST 106
-#define OPAL_LAST 106
+#define OPAL_IPMI_SEND 107
+#define OPAL_IPMI_RECV 108
+#define OPAL_LAST 108
#ifndef __ASSEMBLY__