]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
UefiCpuPkg: Update RegisterCpuFeaturesLib to consume PcdGetSize with UINTN
authorLiming Gao <liming.gao@intel.com>
Tue, 11 Jul 2017 03:33:58 +0000 (11:33 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 26 Jul 2017 01:00:30 +0000 (09:00 +0800)
commit3b341e263da957b2c8896317f41cc32880c878b0
tree6104cce13411e2a8c32ce30f352a47cf35535ec0
parentc6e79f25070813eb42f9f4318df7f55fdf6799af
UefiCpuPkg: Update RegisterCpuFeaturesLib to consume PcdGetSize with UINTN

PcdGetSize() returns UINTN data type. The consumer code should use UINTN data
to get its size.

This issue is found when PcdCpuFeaturesSupport is configured as patchable.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c
UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c