blob: cbfafb228f7fd8795e8fce0c13e83229074d7657 [file] [log] [blame]
vishwabmcba0bd5f2015-09-30 16:50:23 +05301#ifndef __HOST_IPMI_APP_HANDLER_H__
2#define __HOST_IPMI_APP_HANDLER_H__
3
vishwa36993272015-11-20 12:43:49 -06004#include <stdint.h>
5
Adriana Kobylakdfc8d772015-10-20 09:34:48 -05006// IPMI commands for App net functions.
vishwabmcba0bd5f2015-09-30 16:50:23 +05307enum ipmi_netfn_app_cmds
8{
9 // Get capability bits
Patrick Venture0b02be92018-08-31 11:55:55 -070010 IPMI_CMD_GET_DEVICE_ID = 0x01,
11 IPMI_CMD_GET_SELF_TEST_RESULTS = 0x04,
12 IPMI_CMD_SET_ACPI = 0x06,
13 IPMI_CMD_GET_DEVICE_GUID = 0x08,
14 IPMI_CMD_RESET_WD = 0x22,
15 IPMI_CMD_SET_WD = 0x24,
16 IPMI_CMD_GET_WD = 0x25,
17 IPMI_CMD_GET_CAP_BIT = 0x36,
18 IPMI_CMD_GET_SYS_GUID = 0x37,
19 IPMI_CMD_SET_CHAN_ACCESS = 0x40,
20 IPMI_CMD_GET_CHANNEL_ACCESS = 0x41,
21 IPMI_CMD_GET_CHAN_INFO = 0x42,
Tom Joseph7cbe2282018-03-21 21:17:33 +053022 IPMI_CMD_GET_CHAN_CIPHER_SUITES = 0x54,
Xo Wangf542e8b2017-08-09 15:34:16 -070023 IPMI_CMD_SET_SYSTEM_INFO = 0x58,
24 IPMI_CMD_GET_SYSTEM_INFO = 0x59,
25};
26
27enum ipmi_app_sysinfo_params
28{
29 IPMI_SYSINFO_SET_STATE = 0x00,
30 IPMI_SYSINFO_SYSTEM_FW_VERSION = 0x01,
31 IPMI_SYSINFO_SYSTEM_NAME = 0x02,
32 IPMI_SYSINFO_PRIMARY_OS_NAME = 0x03,
33 IPMI_SYSINFO_OS_NAME = 0x04,
34 IPMI_SYSINFO_OS_VERSION = 0x05,
35 IPMI_SYSINFO_BMC_URL = 0x06,
36 IPMI_SYSINFO_OS_HYP_URL = 0x07,
37 IPMI_SYSINFO_OEM_START = 0xC0, // Start of range of OEM parameters
vishwabmcba0bd5f2015-09-30 16:50:23 +053038};
39
vishwabmcba0bd5f2015-09-30 16:50:23 +053040#endif