summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@nuviainc.com>2021-03-31 09:54:32 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-04-12 02:19:39 +0000
commit97336fdee4f9847e164639f06616ce1139ef9a15 (patch)
tree9fd0f3f88530edf5bee47379b0589c6b233a29bf /ShellPkg
parentefa7f4df0f3b9e70d49dc41b397ec8400c1ad374 (diff)
downloadedk2-97336fdee4f9847e164639f06616ce1139ef9a15.tar.gz
edk2-97336fdee4f9847e164639f06616ce1139ef9a15.tar.bz2
edk2-97336fdee4f9847e164639f06616ce1139ef9a15.zip
ShellPkg: Fix smbiosview system enclosure type table
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>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index d0796a0e51..39a3e3c089 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -188,19 +188,19 @@ TABLE_ITEM SystemEnclosureTypeTable[] = {
},
{
0x10,
- L" Main Server Chassis"
+ L" Lunch Box"
},
{
0x11,
- L" Expansion Chassis"
+ L" Main Server Chassis"
},
{
0x12,
- L" SubChassis"
+ L" Expansion Chassis"
},
{
0x13,
- L" Sub Notebook"
+ L" SubChassis"
},
{
0x14,