]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/IpmiNetFnChassis.h
MdePkg/BasePrintLib: Add safe print functions [A|U]ValueToStringS
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / IpmiNetFnChassis.h
index 7bf6cf31010ef83dcd501194cf7bfb65e592afeb..b549dc436630d9c5f4e8096f7c4d2464b123669c 100644 (file)
@@ -117,10 +117,11 @@ typedef enum {
 } IPMI_SYSTEM_RESTART_CAUSE;\r
 \r
 typedef struct {\r
-  UINT8   Cause:4;\r
-  UINT8   Reserved:4;\r
-  UINT8   ChannelNumber;\r
-} GET_SYSTEM_RESTART_CAUSE_RESPONSE;\r
+  UINT8  CompletionCode;\r
+  UINT8  Cause:4;\r
+  UINT8  Reserved:4;\r
+  UINT8  ChannelNumber;\r
+} IPMI_GET_SYSTEM_RESTART_CAUSE_RESPONSE;\r
 \r
 //\r
 //  Definitions for Set System BOOT options command\r
@@ -136,10 +137,6 @@ typedef struct {
   UINT8    ParameterData[1];\r
 } IPMI_SET_BOOT_OPTIONS_REQUEST;\r
 \r
-typedef struct {\r
-  UINT8   CompletionCode:8;\r
-} IPMI_SET_BOOT_OPTIONS_RESPONSE;\r
-\r
 //\r
 //  Definitions for Get System BOOT options command\r
 //\r
@@ -148,6 +145,13 @@ typedef struct {
 //\r
 //  Constants and Structure definitions for "Get System boot options" command to follow here\r
 //\r
+typedef struct {\r
+  UINT8    ParameterSelector:7;\r
+  UINT8    Reserved:1;\r
+  UINT8    SetSelector;\r
+  UINT8    BlockSelector;\r
+} IPMI_GET_BOOT_OPTIONS_REQUEST;\r
+\r
 typedef struct {\r
   UINT8 Parameter;\r
   UINT8 Valid;\r
@@ -167,12 +171,6 @@ typedef struct {
   UINT8   Reserved[3];\r
 } IPMI_BOOT_INITIATOR;\r
 \r
-typedef struct {\r
-  UINT8    ParameterSelector;\r
-  UINT8    SetSelector;\r
-  UINT8    BlockSelector;\r
-} IPMI_GET_BOOT_OPTIONS_REQUEST;\r
-\r
 //\r
 // Response Parameters for IPMI Get Boot Options\r
 //\r
@@ -259,6 +257,7 @@ typedef union {
 } IPMI_BOOT_OPTIONS_PARAMETERS;\r
 \r
 typedef struct {\r
+  UINT8    CompletionCode;\r
   UINT8    ParameterVersion:4;\r
   UINT8    Reserved:4;\r
   UINT8    ParameterSelector:7;\r
@@ -269,7 +268,7 @@ typedef struct {
 //\r
 //  Definitions for Set front panel button enables command\r
 //\r
-#define IPMI_CHASSIS_SET_FP_BUTTON_ENABLES 0x0A\r
+#define IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES 0x0A\r
 \r
 typedef struct {\r
   UINT8    DisablePoweroffButton:1;\r
@@ -277,7 +276,7 @@ typedef struct {
   UINT8    DisableDiagnosticInterruptButton:1;\r
   UINT8    DisableStandbyButton:1;\r
   UINT8    Reserved:4;\r
-} IPMI_SET_FRONT_PANEL_BUTTON_ENABLES_REQUEST;\r
+} IPMI_CHASSIS_SET_FRONT_PANEL_BUTTON_ENABLES_REQUEST;\r
 \r
 //\r
 //  Constants and Structure definitions for "Set front panel button enables" command to follow here\r