diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-03-02 10:05:44 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-03-03 09:47:31 +0800 |
commit | 79d8353e14eb3cee269d9e2dbbfd4b60a1432177 (patch) | |
tree | 275928172330e3a2ffecea11a1521ba364d169a0 /UefiCpuPkg | |
parent | d02317febbf5eb54fa9f2b9f1a01e2ea2fa7dac7 (diff) | |
download | edk2-platforms-79d8353e14eb3cee269d9e2dbbfd4b60a1432177.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>
(cherry picked from commit 5a676df9cddfd659f65c39a1d984971d916fd00b)
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);
|