diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-09 15:43:29 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-09 15:43:29 +1100 |
commit | 4755636bc81ad2da23ce33ed2298bcecee716568 (patch) | |
tree | 60bb7c88c8544c199f3cbf078833d7be0d378c96 /include | |
parent | 787071d5522c420d45cf595aba62e8f94e65524e (diff) | |
download | skiboot-4755636bc81ad2da23ce33ed2298bcecee716568.zip skiboot-4755636bc81ad2da23ce33ed2298bcecee716568.tar.gz skiboot-4755636bc81ad2da23ce33ed2298bcecee716568.tar.bz2 |
move struct opal_ipmi_msg to opal.h as it's an API
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/opal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/opal.h b/include/opal.h index 8088175..2e13f77 100644 --- a/include/opal.h +++ b/include/opal.h @@ -430,6 +430,17 @@ enum OpalSysparamPerm { OPAL_SYSPARAM_RW = (OPAL_SYSPARAM_READ | OPAL_SYSPARAM_WRITE), }; +enum { + OPAL_IPMI_MSG_FORMAT_VERSION_1 = 1, +}; + +struct opal_ipmi_msg { + uint8_t version; + uint8_t netfn; + uint8_t cmd; + uint8_t data[]; +}; + /* * EPOW status sharing (OPAL and the host) * |