vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 1 | #ifndef __HOST_IPMI_APP_HANDLER_H__ |
| 2 | #define __HOST_IPMI_APP_HANDLER_H__ |
| 3 | |
vishwa | 3699327 | 2015-11-20 12:43:49 -0600 | [diff] [blame] | 4 | #include <stdint.h> |
| 5 | |
Adriana Kobylak | dfc8d77 | 2015-10-20 09:34:48 -0500 | [diff] [blame] | 6 | // IPMI commands for App net functions. |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 7 | enum ipmi_netfn_app_cmds |
| 8 | { |
| 9 | // Get capability bits |
Adriana Kobylak | dfc8d77 | 2015-10-20 09:34:48 -0500 | [diff] [blame] | 10 | IPMI_CMD_GET_DEVICE_ID = 0x01, |
Nan Li | 41fa24a | 2016-11-10 20:12:37 +0800 | [diff] [blame] | 11 | IPMI_CMD_GET_SELF_TEST_RESULTS = 0x04, |
Adriana Kobylak | dfc8d77 | 2015-10-20 09:34:48 -0500 | [diff] [blame] | 12 | IPMI_CMD_SET_ACPI = 0x06, |
Adriana Kobylak | d100ee5 | 2015-10-20 17:02:37 -0500 | [diff] [blame] | 13 | IPMI_CMD_GET_DEVICE_GUID = 0x08, |
Adriana Kobylak | dfc8d77 | 2015-10-20 09:34:48 -0500 | [diff] [blame] | 14 | IPMI_CMD_RESET_WD = 0x22, |
| 15 | IPMI_CMD_SET_WD = 0x24, |
Adriana Kobylak | dfc8d77 | 2015-10-20 09:34:48 -0500 | [diff] [blame] | 16 | IPMI_CMD_GET_CAP_BIT = 0x36, |
Marri Devender Rao | 5e007a5 | 2018-01-08 06:18:36 -0600 | [diff] [blame] | 17 | IPMI_CMD_GET_SYS_GUID = 0x37, |
Nan Li | 3d0df91 | 2016-10-18 19:51:41 +0800 | [diff] [blame] | 18 | IPMI_CMD_SET_CHAN_ACCESS = 0x40, |
Tom Joseph | 69fabfe | 2017-08-04 10:15:01 +0530 | [diff] [blame] | 19 | IPMI_CMD_GET_CHANNEL_ACCESS = 0x41, |
Chris Austen | c2cd29d | 2016-02-05 20:02:29 -0600 | [diff] [blame] | 20 | IPMI_CMD_GET_CHAN_INFO = 0x42, |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 21 | }; |
| 22 | |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 23 | #endif |