audk/UefiCpuPkg/Library/MpInitLib
Star Zeng a6b3d753f9 UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib
Current code always allocates/frees < 1MB WakeupBuffer for DxeMpLib
until ExitBootService, but the allocation may be failed at late
phase of the boot.

This patch is to always save/restore original WakeupBuffer for
DxeMpLib, it is aligned with the solution for PeiMpLib at
9293d6e42e, then AllocateResetVector()
and FreeResetVector() will be common and moved to MpLib.c.
Only difference is GetWakeupBuffer() that will be in PeiMpLib or
DxeMpLib respectively.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-08-15 17:25:30 +08:00
..
Ia32 UefiCpuPkg/DxeMpLib: Remove unnecessary ret instruction 2016-11-28 08:57:09 +08:00
X64 UefiCpuPkg/MpInitLib: Fix X64 XCODE5/NASM compatibility issues 2017-05-22 19:43:46 -07:00
DxeMpInitLib.inf UefiCpuPkg/DxeMpInitLib.inf: Add missing SynchronizationLib 2017-05-23 10:12:04 +08:00
DxeMpInitLib.uni
DxeMpLib.c UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib 2017-08-15 17:25:30 +08:00
Microcode.c UefiCpuPkg/MpInitLib: Fix function header comments typo 2016-08-25 16:12:46 +08:00
MpLib.c UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib 2017-08-15 17:25:30 +08:00
MpLib.h UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib 2017-08-15 17:25:30 +08:00
PeiMpInitLib.inf UefiCpuPkg/MpInitLib: needn't to allocate AP reset vector 2017-04-26 08:55:44 +08:00
PeiMpInitLib.uni
PeiMpLib.c UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib 2017-08-15 17:25:30 +08:00