]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
Fix Xcode, clang, and ARM build and link issues.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / SmbiosView / PrintInfo.c
index 3ae1eeaf7c40a0dcc789c4989af3044e3603f8fa..5e31283013724220069b8e64dff52bdd6f668c42 100644 (file)
@@ -1807,21 +1807,21 @@ DisplayProcessorFamily2 (
   Display processor voltage information.\r
 \r
   @param[in] Voltage      The Voltage.\r
-                      Bit 7 Set to 0, indicating 'legacy' mode for processor voltage\r
-                      Bits 6:4  Reserved, must be zero\r
-                      Bits 3:0  Voltage Capability.\r
-                                A Set bit indicates that the voltage is supported.\r
-                        Bit 0 - 5V\r
-                        Bit 1 - 3.3V\r
-                        Bit 2 - 2.9V\r
-                        Bit 3 - Reserved, must be zero.\r
-\r
-                      Note:\r
-                        Setting of multiple bits indicates the socket is configurable\r
-                        If bit 7 is set to 1, the remaining seven bits of the field are set to\r
-                        contain the processor's current voltage times 10.\r
-                        For example, the field value for a processor voltage of 1.8 volts would be\r
-                        92h = 80h + (1.8 * 10) = 80h + 18 = 80h +12h.\r
+  Bit 7 Set to 0, indicating 'legacy' mode for processor voltage\r
+  Bits 6:4  Reserved, must be zero\r
+  Bits 3:0  Voltage Capability.\r
+            A Set bit indicates that the voltage is supported.\r
+    Bit 0 - 5V\r
+    Bit 1 - 3.3V\r
+    Bit 2 - 2.9V\r
+    Bit 3 - Reserved, must be zero.\r
+\r
+  Note:\r
+    Setting of multiple bits indicates the socket is configurable\r
+    If bit 7 is set to 1, the remaining seven bits of the field are set to\r
+    contain the processor's current voltage times 10.\r
+    For example, the field value for a processor voltage of 1.8 volts would be\r
+    92h = 80h + (1.8 * 10) = 80h + 18 = 80h +12h.\r
 \r
   @param[in] Option       The option.\r
 **/\r
@@ -1876,19 +1876,19 @@ DisplayProcessorVoltage (
   Display processor information.\r
 \r
   @param[in] Status   The status.\r
-                        Bit 7 Reserved, must be 0\r
-                        Bit 6   CPU Socket Populated\r
                        1 - CPU Socket Populated\r
                        0 - CPU Socket UnpopulatedBits\r
                        5:3  Reserved, must be zero\r
                        Bits 2:0 CPU Status\r
-                          0h - Unknown\r
-                          1h - CPU Enabled\r
-                          2h - CPU Disabled by User via BIOS Setup\r
-                          3h - CPU Disabled By BIOS (POST Error)\r
-                          4h - CPU is Idle, waiting to be enabled.\r
-                          5-6h - Reserved\r
-                          7h - Other\r
+Bit 7 Reserved, must be 0\r
+Bit 6   CPU Socket Populated\r
+ 1 - CPU Socket Populated\r
+ 0 - CPU Socket UnpopulatedBits\r
+ 5:3  Reserved, must be zero\r
+ Bits 2:0 CPU Status\r
+  0h - Unknown\r
+  1h - CPU Enabled\r
+  2h - CPU Disabled by User via BIOS Setup\r
+  3h - CPU Disabled By BIOS (POST Error)\r
+  4h - CPU is Idle, waiting to be enabled.\r
+  5-6h - Reserved\r
+  7h - Other\r
 \r
   @param[in] Option   The option\r
 **/\r
@@ -2225,7 +2225,7 @@ DisplaySystemBootStatus (
     ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_RSVD_FUTURE_ASSIGNMENT), gShellDebug1HiiHandle);\r
   } else if (Parameter >= 128 && Parameter <= 191) {\r
     ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_VENDOR_OEM_SPECIFIC), gShellDebug1HiiHandle);\r
-  } else if (Parameter >= 192 && Parameter <= 255) {\r
+  } else if (Parameter >= 192) {\r
     ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_PRODUCT_SPEC_IMPLMENTATION), gShellDebug1HiiHandle);\r
   } else {\r
     ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_ERROR_VALUE), gShellDebug1HiiHandle);\r
@@ -2271,23 +2271,23 @@ DisplaySBDSManufactureDate (
   Display System Reset  (Type 23) information.\r
 \r
   \r
-  Identifies the system-reset capabilities for the system.\r
  Bits 7:6 Reserved for future assignment via this specification, set to 00b.\r
  Bit 5  System contains a watchdog timer, either True (1) or False (0).\r
  Bits 4:3 Boot Option on Limit.\r
-    Identifies the system action to be taken when the Reset Limit is reached, one of:\r
-    00b Reserved, do not use.\r
-    01b Operating system\r
-    10b System utilities\r
-    11b Do not rebootBits\r
  2:1  Boot Option.  Indicates the action to be taken following a watchdog reset, one of:\r
-    00b Reserved, do not use.\r
-    01b Operating system\r
-    10b System utilities\r
-    11b Do not reboot\r
  Bit 0  Status.\r
-    1b The system reset is enabled by the user\r
-    0b The system reset is not enabled by the user\r
+Identifies the system-reset capabilities for the system.\r
+ Bits 7:6 Reserved for future assignment via this specification, set to 00b.\r
+ Bit 5  System contains a watchdog timer, either True (1) or False (0).\r
+ Bits 4:3 Boot Option on Limit.\r
+  Identifies the system action to be taken when the Reset Limit is reached, one of:\r
+  00b Reserved, do not use.\r
+  01b Operating system\r
+  10b System utilities\r
+  11b Do not rebootBits\r
+ 2:1  Boot Option.  Indicates the action to be taken following a watchdog reset, one of:\r
+  00b Reserved, do not use.\r
+  01b Operating system\r
+  10b System utilities\r
+  11b Do not reboot\r
+ Bit 0  Status.\r
+  1b The system reset is enabled by the user\r
+  0b The system reset is not enabled by the user\r
 \r
   @param[in] Reset   Reset\r
   @param[in] Option  The option\r
@@ -2375,28 +2375,28 @@ DisplaySystemResetCapabilities (
   Display Hardware Security (Type 24) information.\r
 \r
     \r
-    Identifies the password and reset status for the system:\r
-\r
-    Bits 7:6    Power-on Password Status, one of:\r
-      00b Disabled\r
-      01b Enabled\r
-      10b Not Implemented\r
-      11b Unknown\r
-    Bits 5:4    Keyboard Password Status, one of:\r
-      00b Disabled\r
-      01b Enabled\r
-      10b Not Implemented\r
-      11b Unknown\r
-    Bits 3:2    Administrator Password Status, one  of:\r
-      00b Disabled\r
-      01b Enabled\r
-      10b Not Implemented\r
-      11b Unknown\r
-    Bits 1:0    Front Panel Reset Status, one of:\r
-      00b Disabled\r
-      01b Enabled\r
-      10b Not Implemented\r
-      11b Unknown\r
+Identifies the password and reset status for the system:\r
+\r
+Bits 7:6    Power-on Password Status, one of:\r
+  00b Disabled\r
+  01b Enabled\r
+  10b Not Implemented\r
+  11b Unknown\r
+Bits 5:4    Keyboard Password Status, one of:\r
+  00b Disabled\r
+  01b Enabled\r
+  10b Not Implemented\r
+  11b Unknown\r
+Bits 3:2    Administrator Password Status, one  of:\r
+  00b Disabled\r
+  01b Enabled\r
+  10b Not Implemented\r
+  11b Unknown\r
+Bits 1:0    Front Panel Reset Status, one of:\r
+  00b Disabled\r
+  01b Enabled\r
+  10b Not Implemented\r
+  11b Unknown\r
 \r
   @param[in] Settings The device settings.\r
   @param[in] Option   The device options.\r