ShellPkg: Fixed EBC build error.

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
This commit is contained in:
Elvin Li 2015-03-03 02:38:26 +00:00 committed by li-elvin
parent d301991cbc
commit 447cb9135c
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ SmbiosPrintStructure (
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);