UefiCpuPkg/Application/Cpuid: Change DisplayFamily/DisplayModel type

Change DisplayFamily/DisplayModel type to UINT32 to avoid different size in
bitwise operation.

Cc: Qiu Shumin <shumin.qiu@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
Jeff Fan 2016-03-02 10:05:44 +08:00
parent 2bdc0de6a5
commit 5a676df9cd
1 changed files with 2 additions and 2 deletions

View File

@ -210,8 +210,8 @@ CpuidVersionInfo (
CPUID_VERSION_INFO_EBX Ebx; CPUID_VERSION_INFO_EBX Ebx;
CPUID_VERSION_INFO_ECX Ecx; CPUID_VERSION_INFO_ECX Ecx;
CPUID_VERSION_INFO_EDX Edx; CPUID_VERSION_INFO_EDX Edx;
UINTN DisplayFamily; UINT32 DisplayFamily;
UINTN DisplayModel; UINT32 DisplayModel;
AsmCpuid (CPUID_VERSION_INFO, &Eax.Uint32, &Ebx.Uint32, &Ecx.Uint32, &Edx.Uint32); AsmCpuid (CPUID_VERSION_INFO, &Eax.Uint32, &Ebx.Uint32, &Ecx.Uint32, &Edx.Uint32);