]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: smbiosview shows wrong information for Type 27.
authorElvin Li <elvin.li@intel.com>
Wed, 4 Mar 2015 07:50:47 +0000 (07:50 +0000)
committerli-elvin <li-elvin@Edk2>
Wed, 4 Mar 2015 07:50:47 +0000 (07:50 +0000)
Fixed smbiosview to use correct value to parse Type 27.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17007 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c

index de6df5f12b060724b2eaee8219a4bfc39217a4ba..b91ae360caac8151f607216d23bbbe2ab6ab3e77 100644 (file)
@@ -2,7 +2,7 @@
   Build a table, each item is (Key, Info) pair.\r
   And give a interface of query a string out of a table.\r
 \r
-  Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -2718,11 +2718,11 @@ TABLE_ITEM  CoolingDeviceTypeTable[] = {
     L" Integrated Refrigeration "\r
   },\r
   {\r
-    0x0A,\r
+    0x10,\r
     L" Active Cooling "\r
   },\r
   {\r
-    0x0B,\r
+    0x11,\r
     L" Passive Cooling "\r
   },\r
 };\r