TianoCore EDK2 master
Loading...
Searching...
No Matches
IpmiNetFnChassis.h File Reference

Go to the source code of this file.

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

Definition in file IpmiNetFnChassis.h.

Macro Definition Documentation

◆ BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_BMC

#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_BMC   0x01

Definition at line 307 of file IpmiNetFnChassis.h.

◆ BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_SYSTEM

#define BIOS_MUX_CONTROL_OVERRIDE_FORCE_TO_SYSTEM   0x02

Definition at line 308 of file IpmiNetFnChassis.h.

◆ BIOS_MUX_CONTROL_OVERRIDE_RECOMMEND_SETTING

#define BIOS_MUX_CONTROL_OVERRIDE_RECOMMEND_SETTING   0x00

Definition at line 306 of file IpmiNetFnChassis.h.

◆ BOOT_OPTION_HANDLED_BY_BIOS

#define BOOT_OPTION_HANDLED_BY_BIOS   0x01

Definition at line 301 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_BIOS_SETUP

#define IPMI_BOOT_DEVICE_SELECTOR_BIOS_SETUP   0x6

Definition at line 294 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_CD_DVD

#define IPMI_BOOT_DEVICE_SELECTOR_CD_DVD   0x5

Definition at line 293 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_DIAGNOSTIC_PARTITION

#define IPMI_BOOT_DEVICE_SELECTOR_DIAGNOSTIC_PARTITION   0x4

Definition at line 292 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_FLOPPY

#define IPMI_BOOT_DEVICE_SELECTOR_FLOPPY   0xF

Definition at line 299 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE

#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE   0x2

Definition at line 290 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE_SAFE_MODE

#define IPMI_BOOT_DEVICE_SELECTOR_HARDDRIVE_SAFE_MODE   0x3

Definition at line 291 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_NO_OVERRIDE

#define IPMI_BOOT_DEVICE_SELECTOR_NO_OVERRIDE   0x0

Definition at line 288 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_PRIMARY_REMOTE_MEDIA

#define IPMI_BOOT_DEVICE_SELECTOR_PRIMARY_REMOTE_MEDIA   0x9

Definition at line 297 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_PXE

#define IPMI_BOOT_DEVICE_SELECTOR_PXE   0x1

Definition at line 289 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_REMOTE_CD_DVD

#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_CD_DVD   0x8

Definition at line 296 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_REMOTE_FLOPPY

#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_FLOPPY   0x7

Definition at line 295 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_DEVICE_SELECTOR_REMOTE_HARDDRIVE

#define IPMI_BOOT_DEVICE_SELECTOR_REMOTE_HARDDRIVE   0xB

Definition at line 298 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS

#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS   0x5

Definition at line 242 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK

#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK   0x4

Definition at line 241 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO

#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO   0x6

Definition at line 243 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX

#define IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX   0x7

Definition at line 244 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_OEM_BEGIN

#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_BEGIN   0x60

Definition at line 245 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_OEM_END

#define IPMI_BOOT_OPTIONS_PARAMETER_OEM_END   0x7F

Definition at line 246 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG

#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG   0x3

Definition at line 240 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN

#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN   0x2

Definition at line 239 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECTOR

#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECTOR   0x1

Definition at line 238 of file IpmiNetFnChassis.h.

◆ IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS

#define IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS   0x0

Definition at line 237 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_CONTROL

#define IPMI_CHASSIS_CONTROL   0x02

Definition at line 64 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_GET_CAPABILITIES

#define IPMI_CHASSIS_GET_CAPABILITIES   0x00

Definition at line 30 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_GET_POH_COUNTER

#define IPMI_CHASSIS_GET_POH_COUNTER   0x0F

Definition at line 456 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_GET_STATUS

#define IPMI_CHASSIS_GET_STATUS   0x01

Definition at line 48 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS

#define IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS   0x09

Definition at line 196 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_GET_SYSTEM_RESTART_CAUSE

#define IPMI_CHASSIS_GET_SYSTEM_RESTART_CAUSE   0x07

Definition at line 136 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_IDENTIFY

#define IPMI_CHASSIS_IDENTIFY   0x04

Definition at line 93 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_RESET

#define IPMI_CHASSIS_RESET   0x03

Definition at line 84 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_SET_CAPABILITIES

#define IPMI_CHASSIS_SET_CAPABILITIES   0x05

Definition at line 102 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES

#define IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES   0x0A

Definition at line 424 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_SET_POWER_CYCLE_INTERVALS

#define IPMI_CHASSIS_SET_POWER_CYCLE_INTERVALS   0x0B

Definition at line 447 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_SET_POWER_RESTORE_POLICY

#define IPMI_CHASSIS_SET_POWER_RESTORE_POLICY   0x06

Definition at line 111 of file IpmiNetFnChassis.h.

◆ IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS

#define IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS   0x08

Definition at line 171 of file IpmiNetFnChassis.h.

◆ IPMI_NETFN_CHASSIS

#define IPMI_NETFN_CHASSIS   0x00

Definition at line 21 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_ALWAYS_RESTORE

#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_ALWAYS_RESTORE   0x6

Definition at line 147 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_RESTORE_PREV

#define IPMI_SYSTEM_RESTART_CAUSE_AUTO_POWER_RESTORE_PREV   0x7

Definition at line 148 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_CHASSIS_CONTROL_COMMAND

#define IPMI_SYSTEM_RESTART_CAUSE_CHASSIS_CONTROL_COMMAND   0x1

Definition at line 142 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_OEM

#define IPMI_SYSTEM_RESTART_CAUSE_OEM   0x5

Definition at line 146 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_PEF_POWERCYCLE

#define IPMI_SYSTEM_RESTART_CAUSE_PEF_POWERCYCLE   0x9

Definition at line 150 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_PEF_RESET

#define IPMI_SYSTEM_RESTART_CAUSE_PEF_RESET   0x8

Definition at line 149 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_POWERUP

#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_POWERUP   0x3

Definition at line 144 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_RESET

#define IPMI_SYSTEM_RESTART_CAUSE_PUSHBUTTON_RESET   0x2

Definition at line 143 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_RTC_POWERUP

#define IPMI_SYSTEM_RESTART_CAUSE_RTC_POWERUP   0xB

Definition at line 152 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_SOFT_RESET

#define IPMI_SYSTEM_RESTART_CAUSE_SOFT_RESET   0xA

Definition at line 151 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_UNKNOWN

#define IPMI_SYSTEM_RESTART_CAUSE_UNKNOWN   0x0

Definition at line 141 of file IpmiNetFnChassis.h.

◆ IPMI_SYSTEM_RESTART_CAUSE_WATCHDOG_EXPIRE

#define IPMI_SYSTEM_RESTART_CAUSE_WATCHDOG_EXPIRE   0x4

Definition at line 145 of file IpmiNetFnChassis.h.