audk/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h
manickavasakam karpagavinayagam 55dee4947b MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors
Build error reported for missing structures IPMI_SET_BOOT_OPTIONS_RESPONSE,
EFI_IPMI_MSG_GET_BMC_EXEC_RSP, macro EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT
EFI_FIRMWARE_BMC_IN_FULL_RUNTIME/EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE
when using edk2-platforms\Features\Intel\OutOfBandManagement\IpmiFeaturePkg

Rename EFI_IPMI_MSG_GET_BMC_EXEC_RSPB,
EFI_FIRMWARE_GET_BMC_EXECUTION_CONTEXT
EFI_FIRMWARE_BMC_IN_FORCED_UPDATE_MODE to
IPMI_MSG_GET_BMC_EXEC_RSPB,IPMI_GET_BMC_EXECUTION_CONTEXT
IPMI_BMC_IN_FORCED_UPDATE_MODE

Signed-off-by: Manickavasakam Karpagavinayagam <manickavasakamk@ami.com>
Reviewed-by: Isaac Oram <isaac.w.oram@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-06-30 02:14:45 +00:00

39 lines
1.0 KiB
C

/** @file
IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _IPMI_NET_FN_FIRMWARE_H_
#define _IPMI_NET_FN_FIRMWARE_H_
//
// Net function definition for Firmware command
//
#define IPMI_NETFN_FIRMWARE 0x08
//
// All Firmware commands and their structure definitions to follow here
//
// ----------------------------------------------------------------------------------------
// Definitions for Get BMC Execution Context
// ----------------------------------------------------------------------------------------
#define IPMI_GET_BMC_EXECUTION_CONTEXT 0x23
//
// Constants and Structure definitions for "Get Device ID" command to follow here
//
typedef struct {
UINT8 CurrentExecutionContext;
UINT8 PartitionPointer;
} IPMI_MSG_GET_BMC_EXEC_RSP;
//
// Current Execution Context responses
//
#define IPMI_BMC_IN_FORCED_UPDATE_MODE 0x11
#endif