summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h
blob: c4cbe2349b3a538932ab4f2c33eef4f6884d02d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/** @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