diff options
author | Alistair Popple <alistair@popple.id.au> | 2014-10-23 16:14:09 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-10-30 16:35:51 +1100 |
commit | b2a374da98aa710b4c55556f9a9047d4d4a8665d (patch) | |
tree | 31055569f5e456f721f011d2646be7ee6b1e9f57 /include/opal.h | |
parent | b118964db9acd6a36ae1ffe70c09715479a58095 (diff) | |
download | blackbird-skiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.tar.gz blackbird-skiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.zip |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h index 8a833dfb..730aee72 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__ |