audk/UefiCpuPkg/Library
Ruiyu Ni 5986cf382e UefiCpuPkg/PeiMpLib: Fix a system hang-in-pei issue.
GetWakeupBuffer() tries to find a below-1M free memory, it checks
whether the memory is allocated already in
CheckOverlapWithAllocatedBuffer(). When there is a memory allocation
hob (base = 0xff_00000000, size = 0x10000000),
CheckOverlapWithAllocateBuffer() truncates the base to 0 which causes
it always returns TRUE so GetWakeupBuffer() fails to find a below-1MB
memory.

The patch fixes this issue by using UINT64 type.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com>
2018-01-24 11:07:22 +08:00
..
BaseUefiCpuLib UefiCpuPkg/BaseUefiCpuLib.inf: Remove unnecessary library class. 2017-08-16 16:16:18 +08:00
BaseXApicLib UefiCpuPkg: ApicLib 2017-09-05 13:03:22 +08:00
BaseXApicX2ApicLib UefiCpuPkg: ApicLib 2017-09-05 13:03:22 +08:00
CpuCommonFeaturesLib UefiCpuPkg: Enhance feature dependency check 2018-01-15 15:39:50 +08:00
CpuExceptionHandlerLib UefiCpuPkg/CpuExceptionHandlerLib: alloc code memory for exception handlers 2018-01-18 17:03:23 +08:00
MpInitLib UefiCpuPkg/PeiMpLib: Fix a system hang-in-pei issue. 2018-01-24 11:07:22 +08:00
MtrrLib UefiCpuPkg/MtrrLib: Fix an assertion bug 2018-01-11 10:37:56 +08:00
PlatformSecLibNull UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
RegisterCpuFeaturesLib UefiCpuPkg: Delete redundant PcdGetSize PcdCpuFeaturesSupport 2017-12-27 15:31:33 +08:00
SecPeiDxeTimerLibUefiCpu UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
SmmCpuFeaturesLib UefiCpuPkg: Update SmmCpuFeatureLib pass XCODE5 tool chain 2018-01-16 23:42:58 +08:00
SmmCpuPlatformHookLibNull UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00