summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-02-09 17:06:24 +0800
committerStar Zeng <star.zeng@intel.com>2017-02-10 16:18:13 +0800
commit33bed7561f27802b3a24dcf30978a639c73d835f (patch)
treed23d3abdf29cce3be4c8096b6767b51d43247969 /ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
parentd4c109da73db88713d0a3a274923cbe4316705ab (diff)
downloadedk2-33bed7561f27802b3a24dcf30978a639c73d835f.tar.gz
edk2-33bed7561f27802b3a24dcf30978a639c73d835f.tar.bz2
edk2-33bed7561f27802b3a24dcf30978a639c73d835f.zip
ShellPkg SmbiosView: Correct some outputs for Type 0/3/10
Type 0: Update "EDD Enhanced Disk Driver)..." to "EDD (Enhanced Disk Driver)..." for STR_SMBIOSVIEW_PRINTINFO_EDD_ENHANCED_DRIVER Type 3: Use L" Laptop" instead of L" LapTop" in SystemEnclosureTypeTable to match SMBIOS spec. Type 10: The BIT7 of Device Type is representing the status of device whether it is enabled or disabled. But current code is not considering the BIT7 and will print "Undefined Value" for enabled device. Type 41 has same definition of Device Type, the code is correct and will be applied to Type 10 by this patch. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index 02d9ab1f57..afea429b7a 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -166,7 +166,7 @@ TABLE_ITEM SystemEnclosureTypeTable[] = {
},
{
0x09,
- L" LapTop"
+ L" Laptop"
},
{
0x0A,