]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Fixed EBC build error.
authorElvin Li <elvin.li@intel.com>
Tue, 3 Mar 2015 02:38:26 +0000 (02:38 +0000)
committerli-elvin <li-elvin@Edk2>
Tue, 3 Mar 2015 02:38:26 +0000 (02:38 +0000)
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@16987 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c

index ecc4e142acd2c16a17c047d9486fcc02f8ee6246..676aedef6eb462d738d18f112b3f9c148e706f29 100644 (file)
@@ -363,7 +363,7 @@ SmbiosPrintStructure (
       PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount);\r
       DisplayProcessorCharacteristics (Struct->Type4->ProcessorCharacteristics, Option);\r
     }\r
-    if (AE_SMBIOS_VERSION (0x3, 0x0) && (Struct->Hdr->Length > 0x2A)) {\r
+    if ((SmbiosMajorVersion >= 0x3) && (Struct->Hdr->Length > 0x2A)) {\r
       PRINT_STRUCT_VALUE (Struct, Type4, CoreCount2);\r
       PRINT_STRUCT_VALUE (Struct, Type4, EnabledCoreCount2);\r
       PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount2);\r