Revision: 16997
          http://sourceforge.net/p/edk2/code/16997
Author:   hwu1225
Date:     2015-03-03 05:57:24 +0000 (Tue, 03 Mar 2015)
Log Message:
-----------
ShellPkg: Fixed EBC build error.

(Sync patch r16987 from main trunk.)

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

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/16987

Modified Paths:
--------------
    
branches/UDK2014.SP1/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c

Modified: 
branches/UDK2014.SP1/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
===================================================================
--- 
branches/UDK2014.SP1/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
     2015-03-03 05:38:12 UTC (rev 16996)
+++ 
branches/UDK2014.SP1/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
     2015-03-03 05:57:24 UTC (rev 16997)
@@ -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