Revision: 16987
          http://sourceforge.net/p/edk2/code/16987
Author:   li-elvin
Date:     2015-03-03 02:38:26 +0000 (Tue, 03 Mar 2015)
Log Message:
-----------
ShellPkg: Fixed EBC build error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <[email protected]>
Reviewed-by: Shumin Qiu <[email protected]>

Modified Paths:
--------------
    
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c

Modified: 
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
===================================================================
--- 
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c   
    2015-03-02 16:19:41 UTC (rev 16986)
+++ 
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c   
    2015-03-03 02:38:26 UTC (rev 16987)
@@ -363,7 +363,7 @@
       PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount);
       DisplayProcessorCharacteristics 
(Struct->Type4->ProcessorCharacteristics, Option);
     }
-    if (AE_SMBIOS_VERSION (0x3, 0x0) && (Struct->Hdr->Length > 0x2A)) {
+    if ((SmbiosMajorVersion >= 0x3) && (Struct->Hdr->Length > 0x2A)) {
       PRINT_STRUCT_VALUE (Struct, Type4, CoreCount2);
       PRINT_STRUCT_VALUE (Struct, Type4, EnabledCoreCount2);
       PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount2);


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to