]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Ipmi.h
MdePkg/IndustryStandard/Ipmi: Update IPMI header files
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Ipmi.h
index fd3a1d2a8fcaea359e559ef2e38b28f5056a75bd..3362191e30790cc42ec255381e737378e6be6e96 100644 (file)
@@ -1,10 +1,11 @@
 /** @file\r
   IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.\r
+  IPMI Platform Management FRU Information Storage Definition v1.0 Revision 1.3.\r
 \r
   See IPMI specification, Appendix G, Command Assignments\r
   and Appendix H, Sub-function Assignments.\r
 \r
-  Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #include <IndustryStandard/IpmiNetFnTransport.h>\r
 #include <IndustryStandard/IpmiNetFnGroupExtension.h>\r
 \r
+#include <IndustryStandard/IpmiFruInformationStorage.h>\r
+\r
+//\r
+// Generic Completion Codes definitions\r
+//\r
+#define IPMI_COMP_CODE_NORMAL                           0x00\r
+#define IPMI_COMP_CODE_NODE_BUSY                        0xC0\r
+#define IPMI_COMP_CODE_INVALID_COMMAND                  0xC1\r
+#define IPMI_COMP_CODE_INVALID_FOR_GIVEN_LUN            0xC2\r
+#define IPMI_COMP_CODE_TIMEOUT                          0xC3\r
+#define IPMI_COMP_CODE_OUT_OF_SPACE                     0xC4\r
+#define IPMI_COMP_CODE_RESERVATION_CANCELED_OR_INVALID  0xC5\r
+#define IPMI_COMP_CODE_REQUEST_DATA_TRUNCATED           0xC6\r
+#define IPMI_COMP_CODE_INVALID_REQUEST_DATA_LENGTH      0xC7\r
+#define IPMI_COMP_CODE_REQUEST_EXCEED_LIMIT             0xC8\r
+#define IPMI_COMP_CODE_OUT_OF_RANGE                     0xC9\r
+#define IPMI_COMP_CODE_CANNOT_RETURN                    0xCA\r
+#define IPMI_COMP_CODE_NOT_PRESENT                      0xCB\r
+#define IPMI_COMP_CODE_INVALID_DATA_FIELD               0xCC\r
+#define IPMI_COMP_CODE_COMMAND_ILLEGAL                  0xCD\r
+#define IPMI_COMP_CODE_CMD_RESP_NOT_PROVIDED            0xCE\r
+#define IPMI_COMP_CODE_FAIL_DUP_REQUEST                 0xCF\r
+#define IPMI_COMP_CODE_SDR_REP_IN_UPDATE_MODE           0xD0\r
+#define IPMI_COMP_CODE_DEV_IN_FW_UPDATE_MODE            0xD1\r
+#define IPMI_COMP_CODE_BMC_INIT_IN_PROGRESS             0xD2\r
+#define IPMI_COMP_CODE_DEST_UNAVAILABLE                 0xD3\r
+#define IPMI_COMP_CODE_INSUFFICIENT_PRIVILEGE           0xD4\r
+#define IPMI_COMP_CODE_UNSUPPORTED_IN_PRESENT_STATE     0xD5\r
+#define IPMI_COMP_CODE_SUBFUNCTION_DISABLED             0xD6\r
+#define IPMI_COMP_CODE_UNSPECIFIED                      0xFF\r
+\r
 #endif\r