diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-03-02 10:05:44 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-03-03 09:11:01 +0800 |
commit | 5a676df9cddfd659f65c39a1d984971d916fd00b (patch) | |
tree | 5bfd8993dd3df9457e2801b1524e16a5b4ca97cc /UefiCpuPkg | |
parent | 2bdc0de6a525d48f4a74fb01351d53085ecaa281 (diff) | |
download | edk2-platforms-5a676df9cddfd659f65c39a1d984971d916fd00b.tar.xz |
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>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r-- | UefiCpuPkg/Application/Cpuid/Cpuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiCpuPkg/Application/Cpuid/Cpuid.c b/UefiCpuPkg/Application/Cpuid/Cpuid.c index b05da3ee0c..371df66994 100644 --- a/UefiCpuPkg/Application/Cpuid/Cpuid.c +++ b/UefiCpuPkg/Application/Cpuid/Cpuid.c @@ -210,8 +210,8 @@ CpuidVersionInfo ( CPUID_VERSION_INFO_EBX Ebx;
CPUID_VERSION_INFO_ECX Ecx;
CPUID_VERSION_INFO_EDX Edx;
- UINTN DisplayFamily;
- UINTN DisplayModel;
+ UINT32 DisplayFamily;
+ UINT32 DisplayModel;
AsmCpuid (CPUID_VERSION_INFO, &Eax.Uint32, &Ebx.Uint32, &Ecx.Uint32, &Edx.Uint32);
|