MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IpmiNetFnApp.h File Reference

Data Structures

union  IPMI_GET_DEVICE_ID_DEVICE_REV
 
union  IPMI_GET_DEVICE_ID_FIRMWARE_REV_1
 
union  IPMI_GET_DEVICE_ID_DEVICE_SUPPORT
 
struct  IPMI_GET_DEVICE_ID_RESPONSE
 
struct  IPMI_SELF_TEST_RESULT_RESPONSE
 
union  IPMI_ACPI_POWER_STATE
 
struct  IPMI_SET_ACPI_POWER_STATE_REQUEST
 
struct  IPMI_GET_DEVICE_GUID_RESPONSE
 
union  IPMI_WATCHDOG_TIMER_USE
 
union  IPMI_WATCHDOG_TIMER_ACTIONS
 
struct  IPMI_SET_WATCHDOG_TIMER_REQUEST
 
struct  IPMI_GET_WATCHDOG_TIMER_RESPONSE
 
union  IPMI_BMC_GLOBAL_ENABLES
 
struct  IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST
 
struct  IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE
 
union  IPMI_MESSAGE_FLAGS
 
struct  IPMI_CLEAR_MESSAGE_FLAGS_REQUEST
 
struct  IPMI_GET_MESSAGE_FLAGS_RESPONSE
 
union  IPMI_GET_MESSAGE_CHANNEL_NUMBER
 
struct  IPMI_GET_MESSAGE_RESPONSE
 
union  IPMI_SEND_MESSAGE_CHANNEL_NUMBER
 
struct  IPMI_SEND_MESSAGE_REQUEST
 
struct  IPMI_SEND_MESSAGE_RESPONSE
 
union  IPMI_GET_CHANNEL_ACCESS_CHANNEL_NUMBER
 
union  IPMI_GET_CHANNEL_ACCESS_TYPE
 
struct  IPMI_GET_CHANNEL_ACCESS_REQUEST
 
union  IPMI_GET_CHANNEL_ACCESS_CHANNEL_ACCESS
 
union  IPMI_GET_CHANNEL_ACCESS_PRIVILEGE_LIMIT
 
struct  IPMI_GET_CHANNEL_ACCESS_RESPONSE
 
union  IPMI_CHANNEL_INFO_CHANNEL_NUMBER
 
union  IPMI_CHANNEL_INFO_MEDIUM_TYPE
 
union  IPMI_CHANNEL_INFO_PROTOCOL_TYPE
 
union  IPMI_CHANNEL_INFO_SESSION_SUPPORT
 
struct  IPMI_GET_CHANNEL_INFO_RESPONSE
 
union  IPMI_GET_USER_ACCESS_CHANNEL_NUMBER
 
union  IPMI_USER_ID
 
struct  IPMI_GET_USER_ACCESS_REQUEST
 
union  IPMI_GET_USER_ACCESS_MAX_USER_ID
 
union  IPMI_GET_USER_ACCESS_CURRENT_USER
 
union  IPMI_GET_USER_ACCESS_FIXED_NAME_USER
 
union  IPMI_GET_USER_ACCESS_CHANNEL_ACCESS
 
struct  IPMI_GET_USER_ACCESS_RESPONSE
 
struct  IPMI_SET_USER_NAME_REQUEST
 
struct  IPMI_GET_USER_NAME_REQUEST
 
struct  IPMI_GET_USER_NAME_RESPONSE
 
union  IPMI_SET_USER_PASSWORD_USER_ID
 
union  IPMI_SET_USER_PASSWORD_OPERATION
 
struct  IPMI_SET_USER_PASSWORD_REQUEST
 

Macros

#define IPMI_NETFN_APP   0x06
 
#define IPMI_APP_GET_DEVICE_ID   0x1
 
#define IPMI_APP_COLD_RESET   0x2
 
#define IPMI_APP_WARM_RESET   0x3
 
#define IPMI_APP_GET_SELFTEST_RESULTS   0x4
 
#define IPMI_APP_SELFTEST_NO_ERROR   0x55
 
#define IPMI_APP_SELFTEST_NOT_IMPLEMENTED   0x56
 
#define IPMI_APP_SELFTEST_ERROR   0x57
 
#define IPMI_APP_SELFTEST_FATAL_HW_ERROR   0x58
 
#define IPMI_APP_SELFTEST_INACCESSIBLE_SEL   0x80
 
#define IPMI_APP_SELFTEST_INACCESSIBLE_SDR   0x40
 
#define IPMI_APP_SELFTEST_INACCESSIBLE_FRU   0x20
 
#define IPMI_APP_SELFTEST_IPMB_SIGNAL_FAIL   0x10
 
#define IPMI_APP_SELFTEST_SDR_REPOSITORY_EMPTY   0x08
 
#define IPMI_APP_SELFTEST_FRU_CORRUPT   0x04
 
#define IPMI_APP_SELFTEST_FW_BOOTBLOCK_CORRUPT   0x02
 
#define IPMI_APP_SELFTEST_FW_CORRUPT   0x01
 
#define IPMI_APP_MANUFACTURING_TEST_ON   0x5
 
#define IPMI_APP_SET_ACPI_POWERSTATE   0x6
 
#define IPMI_SYSTEM_POWER_STATE_S0_G0   0x0
 
#define IPMI_SYSTEM_POWER_STATE_S1   0x1
 
#define IPMI_SYSTEM_POWER_STATE_S2   0x2
 
#define IPMI_SYSTEM_POWER_STATE_S3   0x3
 
#define IPMI_SYSTEM_POWER_STATE_S4   0x4
 
#define IPMI_SYSTEM_POWER_STATE_S5_G2   0x5
 
#define IPMI_SYSTEM_POWER_STATE_S4_S5   0x6
 
#define IPMI_SYSTEM_POWER_STATE_G3   0x7
 
#define IPMI_SYSTEM_POWER_STATE_SLEEPING   0x8
 
#define IPMI_SYSTEM_POWER_STATE_G1_SLEEPING   0x9
 
#define IPMI_SYSTEM_POWER_STATE_OVERRIDE   0xA
 
#define IPMI_SYSTEM_POWER_STATE_LEGACY_ON   0x20
 
#define IPMI_SYSTEM_POWER_STATE_LEGACY_OFF   0x21
 
#define IPMI_SYSTEM_POWER_STATE_UNKNOWN   0x2A
 
#define IPMI_SYSTEM_POWER_STATE_NO_CHANGE   0x7F
 
#define IPMI_DEVICE_POWER_STATE_D0   0x0
 
#define IPMI_DEVICE_POWER_STATE_D1   0x1
 
#define IPMI_DEVICE_POWER_STATE_D2   0x2
 
#define IPMI_DEVICE_POWER_STATE_D3   0x3
 
#define IPMI_DEVICE_POWER_STATE_UNKNOWN   0x2A
 
#define IPMI_DEVICE_POWER_STATE_NO_CHANGE   0x7F
 
#define IPMI_APP_GET_ACPI_POWERSTATE   0x7
 
#define IPMI_APP_GET_DEVICE_GUID   0x8
 
#define IPMI_APP_RESET_WATCHDOG_TIMER   0x22
 
#define IPMI_APP_SET_WATCHDOG_TIMER   0x24
 
#define IPMI_WATCHDOG_TIMER_BIOS_FRB2   0x1
 
#define IPMI_WATCHDOG_TIMER_BIOS_POST   0x2
 
#define IPMI_WATCHDOG_TIMER_OS_LOADER   0x3
 
#define IPMI_WATCHDOG_TIMER_SMS   0x4
 
#define IPMI_WATCHDOG_TIMER_OEM   0x5
 
#define IPMI_WATCHDOG_TIMER_ACTION_NO_ACTION   0x0
 
#define IPMI_WATCHDOG_TIMER_ACTION_HARD_RESET   0x1
 
#define IPMI_WATCHDOG_TIMER_ACTION_POWER_DONW   0x2
 
#define IPMI_WATCHDOG_TIMER_ACTION_POWER_CYCLE   0x3
 
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NONE   0x0
 
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_SMI   0x1
 
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NMI   0x2
 
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_MESSAGING   0x3
 
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_FRB2   BIT1
 
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_POST   BIT2
 
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OS_LOAD   BIT3
 
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_SMS_OS   BIT4
 
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OEM   BIT5
 
#define IPMI_APP_GET_WATCHDOG_TIMER   0x25
 
#define IPMI_APP_SET_BMC_GLOBAL_ENABLES   0x2E
 
#define IPMI_APP_GET_BMC_GLOBAL_ENABLES   0x2F
 
#define IPMI_APP_CLEAR_MESSAGE_FLAGS   0x30
 
#define IPMI_APP_GET_MESSAGE_FLAGS   0x31
 
#define IPMI_APP_ENABLE_MESSAGE_CHANNEL_RECEIVE   0x32
 
#define IPMI_APP_GET_MESSAGE   0x33
 
#define IPMI_APP_SEND_MESSAGE   0x34
 
#define IPMI_APP_READ_EVENT_MSG_BUFFER   0x35
 
#define IPMI_APP_GET_BT_INTERFACE_CAPABILITY   0x36
 
#define IPMI_APP_GET_SYSTEM_GUID   0x37
 
#define IPMI_APP_GET_CHANNEL_AUTHENTICATION_CAPABILITIES   0x38
 
#define IPMI_APP_GET_SESSION_CHALLENGE   0x39
 
#define IPMI_APP_ACTIVATE_SESSION   0x3A
 
#define IPMI_APP_SET_SESSION_PRIVELEGE_LEVEL   0x3B
 
#define IPMI_APP_CLOSE_SESSION   0x3C
 
#define IPMI_APP_GET_SESSION_INFO   0x3D
 
#define IPMI_APP_GET_AUTHCODE   0x3F
 
#define IPMI_APP_SET_CHANNEL_ACCESS   0x40
 
#define IPMI_APP_GET_CHANNEL_ACCESS   0x41
 
#define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_NON_VOLATILE   0x1
 
#define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_PRESENT_VOLATILE_SETTING   0x2
 
#define IPMI_CHANNEL_ACCESS_MODES_DISABLED   0x0
 
#define IPMI_CHANNEL_ACCESS_MODES_PRE_BOOT_ONLY   0x1
 
#define IPMI_CHANNEL_ACCESS_MODES_ALWAYS_AVAILABLE   0x2
 
#define IPMI_CHANNEL_ACCESS_MODES_SHARED   0x3
 
#define IPMI_APP_GET_CHANNEL_INFO   0x42
 
#define IPMI_CHANNEL_MEDIA_TYPE_IPMB   0x1
 
#define IPMI_CHANNEL_MEDIA_TYPE_ICMB_1_0   0x2
 
#define IPMI_CHANNEL_MEDIA_TYPE_ICMB_0_9   0x3
 
#define IPMI_CHANNEL_MEDIA_TYPE_802_3_LAN   0x4
 
#define IPMI_CHANNEL_MEDIA_TYPE_RS_232   0x5
 
#define IPMI_CHANNEL_MEDIA_TYPE_OTHER_LAN   0x6
 
#define IPMI_CHANNEL_MEDIA_TYPE_PCI_SM_BUS   0x7
 
#define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V1   0x8
 
#define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V2   0x9
 
#define IPMI_CHANNEL_MEDIA_TYPE_USB1   0xA
 
#define IPMI_CHANNEL_MEDIA_TYPE_USB2   0xB
 
#define IPMI_CHANNEL_MEDIA_TYPE_SYSTEM_INTERFACE   0xC
 
#define IPMI_CHANNEL_MEDIA_TYPE_OEM_START   0x60
 
#define IPMI_CHANNEL_MEDIA_TYPE_OEM_END   0x7F
 
#define IPMI_APP_GET_CHANNEL_INFO   0x42
 
#define IPMI_APP_SET_USER_ACCESS   0x43
 
#define IPMI_APP_GET_USER_ACCESS   0x44
 
#define IPMI_APP_SET_USER_NAME   0x45
 
#define IPMI_APP_GET_USER_NAME   0x46
 
#define IPMI_APP_SET_USER_PASSWORD   0x47
 
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_DISABLE_USER   0x0
 
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_ENABLE_USER   0x1
 
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_SET_PASSWORD   0x2
 
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_TEST_PASSWORD   0x3
 
#define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_16   0x0
 
#define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_20   0x1
 
#define IPMI_APP_ACTIVATE_PAYLOAD   0x48
 
#define IPMI_APP_DEACTIVATE_PAYLOAD   0x49
 
#define IPMI_APP_GET_PAYLOAD_ACTIVATION_STATUS   0x4a
 
#define IPMI_APP_GET_PAYLOAD_INSTANCE_INFO   0x4b
 
#define IPMI_APP_SET_USER_PAYLOAD_ACCESS   0x4C
 
#define IPMI_APP_GET_USER_PAYLOAD_ACCESS   0x4D
 
#define IPMI_APP_GET_CHANNEL_PAYLOAD_SUPPORT   0x4E
 
#define IPMI_APP_GET_CHANNEL_PAYLOAD_VERSION   0x4F
 
#define IPMI_APP_GET_CHANNEL_OEM_PAYLOAD_INFO   0x50
 
#define IPMI_APP_MASTER_WRITE_READ   0x52
 
#define IPMI_APP_GET_CHANNEL_CIPHER_SUITES   0x54
 
#define IPMI_APP_SUSPEND_RESUME_PAYLOAD_ENCRYPTION   0x55
 
#define IPMI_APP_SET_CHANNEL_SECURITY_KEYS   0x56
 
#define IPMI_APP_GET_SYSTEM_INTERFACE_CAPABILITIES   0x57
 
#define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_SINGLE_PARTITION_RW   0x0
 
#define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW   0x1
 
#define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW_WITH_MIDDLE   0x2
 

Detailed Description

IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.

This file contains all NetFn App commands, including: IPM Device "Global" Commands (Chapter 20) Firmware Firewall & Command Discovery Commands (Chapter 21) BMC Watchdog Timer Commands (Chapter 27) IPMI Messaging Support Commands (Chapter 22) RMCP+ Support and Payload Commands (Chapter 24)

See IPMI specification, Appendix G, Command Assignments and Appendix H, Sub-function Assignments.

Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Macro Definition Documentation

#define IPMI_APP_ACTIVATE_PAYLOAD   0x48
#define IPMI_APP_ACTIVATE_SESSION   0x3A
#define IPMI_APP_CLEAR_MESSAGE_FLAGS   0x30
#define IPMI_APP_CLOSE_SESSION   0x3C
#define IPMI_APP_COLD_RESET   0x2
#define IPMI_APP_DEACTIVATE_PAYLOAD   0x49
#define IPMI_APP_ENABLE_MESSAGE_CHANNEL_RECEIVE   0x32
#define IPMI_APP_GET_ACPI_POWERSTATE   0x7
#define IPMI_APP_GET_AUTHCODE   0x3F
#define IPMI_APP_GET_BMC_GLOBAL_ENABLES   0x2F
#define IPMI_APP_GET_BT_INTERFACE_CAPABILITY   0x36
#define IPMI_APP_GET_CHANNEL_ACCESS   0x41
#define IPMI_APP_GET_CHANNEL_AUTHENTICATION_CAPABILITIES   0x38
#define IPMI_APP_GET_CHANNEL_CIPHER_SUITES   0x54
#define IPMI_APP_GET_CHANNEL_INFO   0x42
#define IPMI_APP_GET_CHANNEL_INFO   0x42
#define IPMI_APP_GET_CHANNEL_OEM_PAYLOAD_INFO   0x50
#define IPMI_APP_GET_CHANNEL_PAYLOAD_SUPPORT   0x4E
#define IPMI_APP_GET_CHANNEL_PAYLOAD_VERSION   0x4F
#define IPMI_APP_GET_DEVICE_GUID   0x8
#define IPMI_APP_GET_DEVICE_ID   0x1
#define IPMI_APP_GET_MESSAGE   0x33
#define IPMI_APP_GET_MESSAGE_FLAGS   0x31
#define IPMI_APP_GET_PAYLOAD_ACTIVATION_STATUS   0x4a
#define IPMI_APP_GET_PAYLOAD_INSTANCE_INFO   0x4b
#define IPMI_APP_GET_SELFTEST_RESULTS   0x4
#define IPMI_APP_GET_SESSION_CHALLENGE   0x39
#define IPMI_APP_GET_SESSION_INFO   0x3D
#define IPMI_APP_GET_SYSTEM_GUID   0x37
#define IPMI_APP_GET_SYSTEM_INTERFACE_CAPABILITIES   0x57
#define IPMI_APP_GET_USER_ACCESS   0x44
#define IPMI_APP_GET_USER_NAME   0x46
#define IPMI_APP_GET_USER_PAYLOAD_ACCESS   0x4D
#define IPMI_APP_GET_WATCHDOG_TIMER   0x25
#define IPMI_APP_MANUFACTURING_TEST_ON   0x5
#define IPMI_APP_MASTER_WRITE_READ   0x52
#define IPMI_APP_READ_EVENT_MSG_BUFFER   0x35
#define IPMI_APP_RESET_WATCHDOG_TIMER   0x22
#define IPMI_APP_SELFTEST_ERROR   0x57
#define IPMI_APP_SELFTEST_FATAL_HW_ERROR   0x58
#define IPMI_APP_SELFTEST_FRU_CORRUPT   0x04
#define IPMI_APP_SELFTEST_FW_BOOTBLOCK_CORRUPT   0x02
#define IPMI_APP_SELFTEST_FW_CORRUPT   0x01
#define IPMI_APP_SELFTEST_INACCESSIBLE_FRU   0x20
#define IPMI_APP_SELFTEST_INACCESSIBLE_SDR   0x40
#define IPMI_APP_SELFTEST_INACCESSIBLE_SEL   0x80
#define IPMI_APP_SELFTEST_IPMB_SIGNAL_FAIL   0x10
#define IPMI_APP_SELFTEST_NO_ERROR   0x55
#define IPMI_APP_SELFTEST_NOT_IMPLEMENTED   0x56
#define IPMI_APP_SELFTEST_SDR_REPOSITORY_EMPTY   0x08
#define IPMI_APP_SEND_MESSAGE   0x34
#define IPMI_APP_SET_ACPI_POWERSTATE   0x6
#define IPMI_APP_SET_BMC_GLOBAL_ENABLES   0x2E
#define IPMI_APP_SET_CHANNEL_ACCESS   0x40
#define IPMI_APP_SET_CHANNEL_SECURITY_KEYS   0x56
#define IPMI_APP_SET_SESSION_PRIVELEGE_LEVEL   0x3B
#define IPMI_APP_SET_USER_ACCESS   0x43
#define IPMI_APP_SET_USER_NAME   0x45
#define IPMI_APP_SET_USER_PASSWORD   0x47
#define IPMI_APP_SET_USER_PAYLOAD_ACCESS   0x4C
#define IPMI_APP_SET_WATCHDOG_TIMER   0x24
#define IPMI_APP_SUSPEND_RESUME_PAYLOAD_ENCRYPTION   0x55
#define IPMI_APP_WARM_RESET   0x3
#define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_NON_VOLATILE   0x1
#define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_PRESENT_VOLATILE_SETTING   0x2
#define IPMI_CHANNEL_ACCESS_MODES_ALWAYS_AVAILABLE   0x2
#define IPMI_CHANNEL_ACCESS_MODES_DISABLED   0x0
#define IPMI_CHANNEL_ACCESS_MODES_PRE_BOOT_ONLY   0x1
#define IPMI_CHANNEL_ACCESS_MODES_SHARED   0x3
#define IPMI_CHANNEL_MEDIA_TYPE_802_3_LAN   0x4
#define IPMI_CHANNEL_MEDIA_TYPE_ICMB_0_9   0x3
#define IPMI_CHANNEL_MEDIA_TYPE_ICMB_1_0   0x2
#define IPMI_CHANNEL_MEDIA_TYPE_IPMB   0x1
#define IPMI_CHANNEL_MEDIA_TYPE_OEM_END   0x7F
#define IPMI_CHANNEL_MEDIA_TYPE_OEM_START   0x60
#define IPMI_CHANNEL_MEDIA_TYPE_OTHER_LAN   0x6
#define IPMI_CHANNEL_MEDIA_TYPE_PCI_SM_BUS   0x7
#define IPMI_CHANNEL_MEDIA_TYPE_RS_232   0x5
#define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V1   0x8
#define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V2   0x9
#define IPMI_CHANNEL_MEDIA_TYPE_SYSTEM_INTERFACE   0xC
#define IPMI_CHANNEL_MEDIA_TYPE_USB1   0xA
#define IPMI_CHANNEL_MEDIA_TYPE_USB2   0xB
#define IPMI_DEVICE_POWER_STATE_D0   0x0
#define IPMI_DEVICE_POWER_STATE_D1   0x1
#define IPMI_DEVICE_POWER_STATE_D2   0x2
#define IPMI_DEVICE_POWER_STATE_D3   0x3
#define IPMI_DEVICE_POWER_STATE_NO_CHANGE   0x7F
#define IPMI_DEVICE_POWER_STATE_UNKNOWN   0x2A
#define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW   0x1
#define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW_WITH_MIDDLE   0x2
#define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_SINGLE_PARTITION_RW   0x0
#define IPMI_NETFN_APP   0x06
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_DISABLE_USER   0x0
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_ENABLE_USER   0x1
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_SET_PASSWORD   0x2
#define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_TEST_PASSWORD   0x3
#define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_16   0x0
#define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_20   0x1
#define IPMI_SYSTEM_POWER_STATE_G1_SLEEPING   0x9
#define IPMI_SYSTEM_POWER_STATE_G3   0x7
#define IPMI_SYSTEM_POWER_STATE_LEGACY_OFF   0x21
#define IPMI_SYSTEM_POWER_STATE_LEGACY_ON   0x20
#define IPMI_SYSTEM_POWER_STATE_NO_CHANGE   0x7F
#define IPMI_SYSTEM_POWER_STATE_OVERRIDE   0xA
#define IPMI_SYSTEM_POWER_STATE_S0_G0   0x0
#define IPMI_SYSTEM_POWER_STATE_S1   0x1
#define IPMI_SYSTEM_POWER_STATE_S2   0x2
#define IPMI_SYSTEM_POWER_STATE_S3   0x3
#define IPMI_SYSTEM_POWER_STATE_S4   0x4
#define IPMI_SYSTEM_POWER_STATE_S4_S5   0x6
#define IPMI_SYSTEM_POWER_STATE_S5_G2   0x5
#define IPMI_SYSTEM_POWER_STATE_SLEEPING   0x8
#define IPMI_SYSTEM_POWER_STATE_UNKNOWN   0x2A
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_MESSAGING   0x3
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NMI   0x2
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NONE   0x0
#define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_SMI   0x1
#define IPMI_WATCHDOG_TIMER_ACTION_HARD_RESET   0x1
#define IPMI_WATCHDOG_TIMER_ACTION_NO_ACTION   0x0
#define IPMI_WATCHDOG_TIMER_ACTION_POWER_CYCLE   0x3
#define IPMI_WATCHDOG_TIMER_ACTION_POWER_DONW   0x2
#define IPMI_WATCHDOG_TIMER_BIOS_FRB2   0x1
#define IPMI_WATCHDOG_TIMER_BIOS_POST   0x2
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_FRB2   BIT1
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_POST   BIT2
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OEM   BIT5
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OS_LOAD   BIT3
#define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_SMS_OS   BIT4
#define IPMI_WATCHDOG_TIMER_OEM   0x5
#define IPMI_WATCHDOG_TIMER_OS_LOADER   0x3
#define IPMI_WATCHDOG_TIMER_SMS   0x4