]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Fix smbiosview system enclosure type table
authorRebecca Cran <rebecca@nuviainc.com>
Wed, 31 Mar 2021 01:54:32 +0000 (09:54 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 12 Apr 2021 02:19:39 +0000 (02:19 +0000)
The SystemEnclosureTypeTable in QueryTable.c contained a couple
of errors: value 0x10 is "Lunch Box" not "Main Server Chassis", and
the Sub Notebook value was repeated as 0x13 when that entry is for
"SubChassis". The entries in-between needed adjusted.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c

index d0796a0e51416d12c48306482c98c54017687d9a..39a3e3c0895b2218b726fb5f632bf186aa0951de 100644 (file)
@@ -188,19 +188,19 @@ TABLE_ITEM  SystemEnclosureTypeTable[] = {
   },\r
   {\r
     0x10,\r
-    L"  Main Server Chassis"\r
+    L"  Lunch Box"\r
   },\r
   {\r
     0x11,\r
-    L"  Expansion Chassis"\r
+    L"  Main Server Chassis"\r
   },\r
   {\r
     0x12,\r
-    L"  SubChassis"\r
+    L"  Expansion Chassis"\r
   },\r
   {\r
     0x13,\r
-    L"  Sub Notebook"\r
+    L"  SubChassis"\r
   },\r
   {\r
     0x14,\r