audk/UefiCpuPkg/Library/MpInitLib
Jian J Wang f2655dcf28 UefiCpuPkg/MpInitLib: fix incorrect stack top init for cpu0
As the name suggests, CpuMpData->CpuInfoInHob[0].ApTopOfStack must be init
to the top of stack. But the MpInitLibInitialize() passed the base address
of stack to InitializeApData(), which is not correct. Although this stack
is not used for BSP, it's should be fixed in case of misunderstanding and
future possible code changes.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2018-01-10 08:25:11 +08:00
..
Ia32 UefiCpuPkg/MpInitLib: Enhance waiting for AP initialization logic. 2017-10-24 16:05:37 +08:00
X64 UefiCpuPkg/MpInitLib: Enhance waiting for AP initialization logic. 2017-10-24 16:05:37 +08:00
DxeMpInitLib.inf UefiCpuPkg/MpInitLib: Add missing Guard page setup for APs 2017-12-22 14:16:51 +08:00
DxeMpInitLib.uni UefiCpuPkg/MpInitLib: Add two instances PeiMpInitLib and DxeMpInitLib 2016-08-17 19:58:07 +08:00
DxeMpLib.c UefiCpuPkg/MpInitLib: Add missing Guard page setup for APs 2017-12-22 14:16:51 +08:00
Microcode.c UefiCpuPkg/MpInitLib: Avoid call PcdGet* in Ap & Bsp. 2017-10-20 10:30:46 +08:00
MpLib.c UefiCpuPkg/MpInitLib: fix incorrect stack top init for cpu0 2018-01-10 08:25:11 +08:00
MpLib.h UefiCpuPkg/MpLib: Add GDTR, IDTR and TR in saved AP data 2017-12-08 14:38:50 +08:00
PeiMpInitLib.inf UefiCpuPkg/MpInitLib: needn't to allocate AP reset vector 2017-04-26 08:55:44 +08:00
PeiMpInitLib.uni UefiCpuPkg/MpInitLib: Add two instances PeiMpInitLib and DxeMpInitLib 2016-08-17 19:58:07 +08:00
PeiMpLib.c UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib 2017-08-15 17:25:30 +08:00