blob: 9cc397f6600e1ba32544a9ed701601cce5cc6130 [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{
11 IPMI_CMD_PESEL = 0xF0,
12};
13
14
15
Patrick Williams24fa5a92015-10-30 14:53:57 -050016ipmi_ret_t ipmi_ibm_oem_partial_esel(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
17 ipmi_request_t request, ipmi_response_t response,
Chris Austen4d98c1e2015-10-13 14:33:50 -050018 ipmi_data_len_t data_len, ipmi_context_t context);
19
20
21struct esel_request_t {
22 uint8_t residls;
23 uint8_t residms;
24 uint8_t selrecordls;
25 uint8_t selrecordms;
26 uint8_t offsetls;
27 uint8_t offsetms;
28 uint8_t progress;
29} __attribute__ ((packed)) ;
30
31
32
33#endif