Patrick Venture | 46470a3 | 2018-09-07 19:26:25 -0700 | [diff] [blame] | 1 | #pragma once |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 2 | |
vishwa | 3699327 | 2015-11-20 12:43:49 -0600 | [diff] [blame] | 3 | #include <stdint.h> |
| 4 | |
Adriana Kobylak | dfc8d77 | 2015-10-20 09:34:48 -0500 | [diff] [blame] | 5 | // IPMI commands for App net functions. |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 6 | enum ipmi_netfn_app_cmds |
| 7 | { |
| 8 | // Get capability bits |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 9 | IPMI_CMD_GET_DEVICE_ID = 0x01, |
| 10 | IPMI_CMD_GET_SELF_TEST_RESULTS = 0x04, |
| 11 | IPMI_CMD_SET_ACPI = 0x06, |
Yong Li | 18d7726 | 2018-10-09 01:59:45 +0800 | [diff] [blame] | 12 | IPMI_CMD_GET_ACPI = 0x07, |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 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, |
Xo Wang | f542e8b | 2017-08-09 15:34:16 -0700 | [diff] [blame] | 22 | IPMI_CMD_SET_SYSTEM_INFO = 0x58, |
| 23 | IPMI_CMD_GET_SYSTEM_INFO = 0x59, |
| 24 | }; |
| 25 | |
| 26 | enum ipmi_app_sysinfo_params |
| 27 | { |
| 28 | IPMI_SYSINFO_SET_STATE = 0x00, |
| 29 | IPMI_SYSINFO_SYSTEM_FW_VERSION = 0x01, |
| 30 | IPMI_SYSINFO_SYSTEM_NAME = 0x02, |
| 31 | IPMI_SYSINFO_PRIMARY_OS_NAME = 0x03, |
| 32 | IPMI_SYSINFO_OS_NAME = 0x04, |
| 33 | IPMI_SYSINFO_OS_VERSION = 0x05, |
| 34 | IPMI_SYSINFO_BMC_URL = 0x06, |
| 35 | IPMI_SYSINFO_OS_HYP_URL = 0x07, |
| 36 | IPMI_SYSINFO_OEM_START = 0xC0, // Start of range of OEM parameters |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 37 | }; |