From 97336fdee4f9847e164639f06616ce1139ef9a15 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Wed, 31 Mar 2021 09:54:32 +0800 Subject: 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 Reviewed-by: Zhichao Gao --- .../Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ShellPkg') 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, -- cgit v1.2.3