]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/Ipmi.h
MdePkg: TpmPtp: Add CapCRBIdleBypass definition
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Ipmi.h
1 /** @file
2 IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
3 IPMI Platform Management FRU Information Storage Definition v1.0 Revision 1.3.
4
5 See IPMI specification, Appendix G, Command Assignments
6 and Appendix H, Sub-function Assignments.
7
8 Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>
9 This program and the accompanying materials
10 are licensed and made available under the terms and conditions of the BSD License
11 which accompanies this distribution. The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php
13
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 **/
17
18 #ifndef _IPMI_H_
19 #define _IPMI_H_
20
21 #include <IndustryStandard/IpmiNetFnChassis.h>
22 #include <IndustryStandard/IpmiNetFnBridge.h>
23 #include <IndustryStandard/IpmiNetFnSensorEvent.h>
24 #include <IndustryStandard/IpmiNetFnApp.h>
25 #include <IndustryStandard/IpmiNetFnFirmware.h>
26 #include <IndustryStandard/IpmiNetFnStorage.h>
27 #include <IndustryStandard/IpmiNetFnTransport.h>
28 #include <IndustryStandard/IpmiNetFnGroupExtension.h>
29
30 #include <IndustryStandard/IpmiFruInformationStorage.h>
31
32 //
33 // Generic Completion Codes definitions
34 //
35 #define IPMI_COMP_CODE_NORMAL 0x00
36 #define IPMI_COMP_CODE_NODE_BUSY 0xC0
37 #define IPMI_COMP_CODE_INVALID_COMMAND 0xC1
38 #define IPMI_COMP_CODE_INVALID_FOR_GIVEN_LUN 0xC2
39 #define IPMI_COMP_CODE_TIMEOUT 0xC3
40 #define IPMI_COMP_CODE_OUT_OF_SPACE 0xC4
41 #define IPMI_COMP_CODE_RESERVATION_CANCELED_OR_INVALID 0xC5
42 #define IPMI_COMP_CODE_REQUEST_DATA_TRUNCATED 0xC6
43 #define IPMI_COMP_CODE_INVALID_REQUEST_DATA_LENGTH 0xC7
44 #define IPMI_COMP_CODE_REQUEST_EXCEED_LIMIT 0xC8
45 #define IPMI_COMP_CODE_OUT_OF_RANGE 0xC9
46 #define IPMI_COMP_CODE_CANNOT_RETURN 0xCA
47 #define IPMI_COMP_CODE_NOT_PRESENT 0xCB
48 #define IPMI_COMP_CODE_INVALID_DATA_FIELD 0xCC
49 #define IPMI_COMP_CODE_COMMAND_ILLEGAL 0xCD
50 #define IPMI_COMP_CODE_CMD_RESP_NOT_PROVIDED 0xCE
51 #define IPMI_COMP_CODE_FAIL_DUP_REQUEST 0xCF
52 #define IPMI_COMP_CODE_SDR_REP_IN_UPDATE_MODE 0xD0
53 #define IPMI_COMP_CODE_DEV_IN_FW_UPDATE_MODE 0xD1
54 #define IPMI_COMP_CODE_BMC_INIT_IN_PROGRESS 0xD2
55 #define IPMI_COMP_CODE_DEST_UNAVAILABLE 0xD3
56 #define IPMI_COMP_CODE_INSUFFICIENT_PRIVILEGE 0xD4
57 #define IPMI_COMP_CODE_UNSUPPORTED_IN_PRESENT_STATE 0xD5
58 #define IPMI_COMP_CODE_SUBFUNCTION_DISABLED 0xD6
59 #define IPMI_COMP_CODE_UNSPECIFIED 0xFF
60
61 #endif