blob: 0be12b659020eccb052c4c01f58b87da62f7f272 [file] [log] [blame]
Subrata Banik20fe24b2021-12-09 02:46:38 +05301/** @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 SPDX-License-Identifier: BSD-2-Clause-Patent
10**/
11
12#ifndef _IPMI_H_
13#define _IPMI_H_
14
15#include <IndustryStandard/IpmiNetFnChassis.h>
16#include <IndustryStandard/IpmiNetFnBridge.h>
17#include <IndustryStandard/IpmiNetFnSensorEvent.h>
18#include <IndustryStandard/IpmiNetFnApp.h>
19#include <IndustryStandard/IpmiNetFnFirmware.h>
20#include <IndustryStandard/IpmiNetFnStorage.h>
21#include <IndustryStandard/IpmiNetFnTransport.h>
22#include <IndustryStandard/IpmiNetFnGroupExtension.h>
23
24#include <IndustryStandard/IpmiFruInformationStorage.h>
25
26//
27// Generic Completion Codes definitions
28//
29#define IPMI_COMP_CODE_NORMAL 0x00
30#define IPMI_COMP_CODE_NODE_BUSY 0xC0
31#define IPMI_COMP_CODE_INVALID_COMMAND 0xC1
32#define IPMI_COMP_CODE_INVALID_FOR_GIVEN_LUN 0xC2
33#define IPMI_COMP_CODE_TIMEOUT 0xC3
34#define IPMI_COMP_CODE_OUT_OF_SPACE 0xC4
35#define IPMI_COMP_CODE_RESERVATION_CANCELED_OR_INVALID 0xC5
36#define IPMI_COMP_CODE_REQUEST_DATA_TRUNCATED 0xC6
37#define IPMI_COMP_CODE_INVALID_REQUEST_DATA_LENGTH 0xC7
38#define IPMI_COMP_CODE_REQUEST_EXCEED_LIMIT 0xC8
39#define IPMI_COMP_CODE_OUT_OF_RANGE 0xC9
40#define IPMI_COMP_CODE_CANNOT_RETURN 0xCA
41#define IPMI_COMP_CODE_NOT_PRESENT 0xCB
42#define IPMI_COMP_CODE_INVALID_DATA_FIELD 0xCC
43#define IPMI_COMP_CODE_COMMAND_ILLEGAL 0xCD
44#define IPMI_COMP_CODE_CMD_RESP_NOT_PROVIDED 0xCE
45#define IPMI_COMP_CODE_FAIL_DUP_REQUEST 0xCF
46#define IPMI_COMP_CODE_SDR_REP_IN_UPDATE_MODE 0xD0
47#define IPMI_COMP_CODE_DEV_IN_FW_UPDATE_MODE 0xD1
48#define IPMI_COMP_CODE_BMC_INIT_IN_PROGRESS 0xD2
49#define IPMI_COMP_CODE_DEST_UNAVAILABLE 0xD3
50#define IPMI_COMP_CODE_INSUFFICIENT_PRIVILEGE 0xD4
51#define IPMI_COMP_CODE_UNSUPPORTED_IN_PRESENT_STATE 0xD5
52#define IPMI_COMP_CODE_SUBFUNCTION_DISABLED 0xD6
53#define IPMI_COMP_CODE_UNSPECIFIED 0xFF
54
55#endif