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

Data Structures

struct  IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE
 
struct  IPMI_GET_CHASSIS_STATUS_RESPONSE
 
union  IPMI_CHASSIS_CONTROL_CHASSIS_CONTROL
 
struct  IPMI_CHASSIS_CONTROL_REQUEST
 
union  IPMI_POWER_RESTORE_POLICY
 
struct  IPMI_SET_POWER_RESTORE_POLICY_REQUEST
 
struct  IPMI_SET_POWER_RESTORE_POLICY_RESPONSE
 
union  IPMI_SYSTEM_RESTART_CAUSE
 
struct  IPMI_GET_SYSTEM_RESTART_CAUSE_RESPONSE
 
union  IPMI_SET_BOOT_OPTIONS_PARAMETER_VALID
 
struct  IPMI_SET_BOOT_OPTIONS_REQUEST
 
struct  IPMI_SET_BOOT_OPTIONS_RESPONSE
 
union  IPMI_GET_BOOT_OPTIONS_PARAMETER_SELECTOR
 
struct  IPMI_GET_BOOT_OPTIONS_REQUEST
 
struct  IPMI_GET_THE_SYSTEM_BOOT_OPTIONS
 
struct  IPMI_BOOT_INITIATOR
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_0
 
struct  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_1
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_2
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_3
 
struct  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_4
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_1
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_2
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_3
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_4
 
union  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5_DATA_5
 
struct  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5
 
union  IPMI_BOOT_OPTIONS_CHANNEL_NUMBER
 
struct  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_6
 
struct  IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_7
 
union  IPMI_BOOT_OPTIONS_PARAMETERS
 
union  IPMI_GET_BOOT_OPTIONS_PARAMETER_VERSION
 
union  IPMI_GET_BOOT_OPTIONS_PARAMETER_VALID
 
struct  IPMI_GET_BOOT_OPTIONS_RESPONSE
 
union  IPMI_FRONT_PANEL_BUTTON_ENABLES
 
struct  IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES_REQUEST
 

Macros

#define IPMI_NETFN_CHASSIS   0x00
 
#define IPMI_CHASSIS_GET_CAPABILITIES   0x00
 
#define IPMI_CHASSIS_GET_STATUS   0x01
 
#define IPMI_CHASSIS_CONTROL   0x02
 
#define IPMI_CHASSIS_RESET   0x03
 
#define IPMI_CHASSIS_IDENTIFY   0x04
 
#define IPMI_CHASSIS_SET_CAPABILITIES   0x05
 
#define IPMI_CHASSIS_SET_POWER_RESTORE_POLICY   0x06
 
#define IPMI_CHASSIS_GET_SYSTEM_RESTART_CAUSE   0x07
 
#define IPMI_SYSTEM_RESTART_CAUSE_UNKNOWN   0x0
 
#define IPMI_SYSTEM_RESTART_CAUSE_CHASSIS_CONTROL_COMMAND   0x1
 
#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_RESET   0x2
 
#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_POWERUP   0x3
 
#define IPMI_SYSTEM_RESTART_CAUSE_WATCHDOG_EXPIRE   0x4
 
#define IPMI_SYSTEM_RESTART_CAUSE_OEM   0x5
 
#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_ALWAYS_RESTORE   0x6
 
#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_RESTORE_PREV   0x7
 
#define IPMI_SYSTEM_RESTART_CAUSE_PEF_RESET   0x8
 
#define IPMI_SYSTEM_RESTART_CAUSE_PEF_POWERCYCLE   0x9
 
#define IPMI_SYSTEM_RESTART_CAUSE_SOFT_RESET   0xA
 
#define IPMI_SYSTEM_RESTART_CAUSE_RTC_POWERUP   0xB
 
#define IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS   0x08
 
#define IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS   0x09
 
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS   0x0
 
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECTOR   0x1
 
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN   0x2
 
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG   0x3
 
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK   0x4
 
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS   0x5
 
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO   0x6
 
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX   0x7
 
#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_BEGIN   0x60
 
#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_END   0x7F
 
#define IPMI_BOOT_DEVICE_SELECTOR_NO_OVERRIDE   0x0
 
#define IPMI_BOOT_DEVICE_SELECTOR_PXE   0x1
 
#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE   0x2
 
#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE_SAFE_MODE   0x3
 
#define IPMI_BOOT_DEVICE_SELECTOR_DIAGNOSTIC_PARTITION   0x4
 
#define IPMI_BOOT_DEVICE_SELECTOR_CD_DVD   0x5
 
#define IPMI_BOOT_DEVICE_SELECTOR_BIOS_SETUP   0x6
 
#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_FLOPPY   0x7
 
#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_CD_DVD   0x8
 
#define IPMI_BOOT_DEVICE_SELECTOR_PRIMARY_REMOTE_MEDIA   0x9
 
#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_HARDDRIVE   0xB
 
#define IPMI_BOOT_DEVICE_SELECTOR_FLOPPY   0xF
 
#define BOOT_OPTION_HANDLED_BY_BIOS   0x01
 
#define BIOS_MUX_CONTROL_OVERRIDE_RECOMMEND_SETTING   0x00
 
#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_BMC   0x01
 
#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_SYSTEM   0x02
 
#define IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES   0x0A
 
#define IPMI_CHASSIS_SET_POWER_CYCLE_INTERVALS   0x0B
 
#define IPMI_CHASSIS_GET_POH_COUNTER   0x0F
 

Detailed Description

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

This file contains all NetFn Chassis commands, including: Chassis Commands (Chapter 28)

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 BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_BMC   0x01
#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_SYSTEM   0x02
#define BIOS_MUX_CONTROL_OVERRIDE_RECOMMEND_SETTING   0x00
#define BOOT_OPTION_HANDLED_BY_BIOS   0x01
#define IPMI_BOOT_DEVICE_SELECTOR_BIOS_SETUP   0x6
#define IPMI_BOOT_DEVICE_SELECTOR_CD_DVD   0x5
#define IPMI_BOOT_DEVICE_SELECTOR_DIAGNOSTIC_PARTITION   0x4
#define IPMI_BOOT_DEVICE_SELECTOR_FLOPPY   0xF
#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE   0x2
#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE_SAFE_MODE   0x3
#define IPMI_BOOT_DEVICE_SELECTOR_NO_OVERRIDE   0x0
#define IPMI_BOOT_DEVICE_SELECTOR_PRIMARY_REMOTE_MEDIA   0x9
#define IPMI_BOOT_DEVICE_SELECTOR_PXE   0x1
#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_CD_DVD   0x8
#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_FLOPPY   0x7
#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_HARDDRIVE   0xB
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS   0x5
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK   0x4
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO   0x6
#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX   0x7
#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_BEGIN   0x60
#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_END   0x7F
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG   0x3
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN   0x2
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECTOR   0x1
#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS   0x0
#define IPMI_CHASSIS_CONTROL   0x02
#define IPMI_CHASSIS_GET_CAPABILITIES   0x00
#define IPMI_CHASSIS_GET_POH_COUNTER   0x0F
#define IPMI_CHASSIS_GET_STATUS   0x01
#define IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS   0x09
#define IPMI_CHASSIS_GET_SYSTEM_RESTART_CAUSE   0x07
#define IPMI_CHASSIS_IDENTIFY   0x04
#define IPMI_CHASSIS_RESET   0x03
#define IPMI_CHASSIS_SET_CAPABILITIES   0x05
#define IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES   0x0A
#define IPMI_CHASSIS_SET_POWER_CYCLE_INTERVALS   0x0B
#define IPMI_CHASSIS_SET_POWER_RESTORE_POLICY   0x06
#define IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS   0x08
#define IPMI_NETFN_CHASSIS   0x00
#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_ALWAYS_RESTORE   0x6
#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_RESTORE_PREV   0x7
#define IPMI_SYSTEM_RESTART_CAUSE_CHASSIS_CONTROL_COMMAND   0x1
#define IPMI_SYSTEM_RESTART_CAUSE_OEM   0x5
#define IPMI_SYSTEM_RESTART_CAUSE_PEF_POWERCYCLE   0x9
#define IPMI_SYSTEM_RESTART_CAUSE_PEF_RESET   0x8
#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_POWERUP   0x3
#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_RESET   0x2
#define IPMI_SYSTEM_RESTART_CAUSE_RTC_POWERUP   0xB
#define IPMI_SYSTEM_RESTART_CAUSE_SOFT_RESET   0xA
#define IPMI_SYSTEM_RESTART_CAUSE_UNKNOWN   0x0
#define IPMI_SYSTEM_RESTART_CAUSE_WATCHDOG_EXPIRE   0x4