audk/UefiCpuPkg/Library/MpInitLib
Jeff Fan 5183fb3736 UefiCpuPkg/MpInitLib: Move allocating reserved memory for AP loop code
In Exit Boot Services callback function, we cannot use allocate memory services
because it may change the memory map that has been gotten by OS.

This fix is to move allocating reserved memory for AP loop code to
InitMpGlobalData() and save the memory address in one global variable.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
2016-08-25 16:12:37 +08:00
..
Ia32 UefiCpuPkg/MpInitLib: Add MP_ASSEMBLY_ADDRESS_MAP 2016-08-17 19:59:01 +08:00
X64 UefiCpuPkg/MpInitLib: Add MP_ASSEMBLY_ADDRESS_MAP 2016-08-17 19:59:01 +08:00
DxeMpInitLib.inf UefiCpuPkg/MpInitLib: Add MicrocodeDetect() and load microcode on BSP 2016-08-17 20:00:23 +08:00
DxeMpInitLib.uni UefiCpuPkg/MpInitLib: Add two instances PeiMpInitLib and DxeMpInitLib 2016-08-17 19:58:07 +08:00
DxeMpLib.c UefiCpuPkg/MpInitLib: Move allocating reserved memory for AP loop code 2016-08-25 16:12:37 +08:00
Microcode.c UefiCpuPkg/MpInitLib: MicrocodeData used but maybe uninitialized 2016-08-19 15:11:01 +08:00
MpLib.c UefiCpuPkg/MpInitLib: Move timeout delay to WakupAp() 2016-08-25 16:12:32 +08:00
MpLib.h UefiCpuPkg/MpInitLib: Place APs in safe loop before hand-off to OS 2016-08-17 20:02:39 +08:00
PeiMpInitLib.inf UefiCpuPkg/MpInitLib: Add MicrocodeDetect() and load microcode on BSP 2016-08-17 20:00:23 +08:00
PeiMpInitLib.uni UefiCpuPkg/MpInitLib: Add two instances PeiMpInitLib and DxeMpInitLib 2016-08-17 19:58:07 +08:00
PeiMpLib.c UefiCpuPkg/MpInitLib: Implementation of MpInitLibStartupAllAPs() 2016-08-17 20:02:31 +08:00