blob: 71ae01cfcb81a6a16baecc24cd08c9dc292ffcd9 [file] [log] [blame]
Chris Austen4d98c1e2015-10-13 14:33:50 -05001#ifndef __HOST_IPMI_OPENPOWEROEM_HANDLER_H__
2#define __HOST_IPMI_OPENPOWEROEM_HANDLER_H__
3
4#include <stdint.h>
5#include <host-ipmid/ipmid-api.h>
6
7
8// IPMI commands for net functions.
9enum ipmi_netfn_oem_cmds
10{
Adriana Kobylak187bfce2016-03-04 11:55:43 -060011 IPMI_CMD_PREP_FW_UPDATE = 0x10,
Chris Austen4d98c1e2015-10-13 14:33:50 -050012 IPMI_CMD_PESEL = 0xF0,
13};
14
15
16
Patrick Williams24fa5a92015-10-30 14:53:57 -050017ipmi_ret_t ipmi_ibm_oem_partial_esel(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
18 ipmi_request_t request, ipmi_response_t response,
Chris Austen4d98c1e2015-10-13 14:33:50 -050019 ipmi_data_len_t data_len, ipmi_context_t context);
20
21
22struct esel_request_t {
23 uint8_t residls;
24 uint8_t residms;
25 uint8_t selrecordls;
26 uint8_t selrecordms;
27 uint8_t offsetls;
28 uint8_t offsetms;
29 uint8_t progress;
30} __attribute__ ((packed)) ;
31
32
33
34#endif