audk/UefiCpuPkg/CpuMpPei
Jian J Wang 2939283f2d UefiCpuPkg/CpuMpPei: fix vs2012 build error
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1166

Visual Studio 2012 will complain uninitialized variable, StackBase,
in the CpuPaging.c. This patch adds code to init it to zero and
ASSERT check against 0. This is enough since uninit case will only
happen during retrieving stack memory via gEfiHobMemoryAllocStackGuid.
But this HOB will always be created in advance.

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Hao A Wu <hao.a.wu@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-09-26 10:20:33 +08:00
..
CpuBist.c UefiCpuPkg/CpuMpPei: Correct BIST PPI logic. 2018-07-24 08:35:33 +08:00
CpuMpPei.c UefiCpuPkg/CpuMpPei: support stack guard feature 2018-09-10 09:28:28 +08:00
CpuMpPei.h UefiCpuPkg/CpuMpPei: support stack guard feature 2018-09-10 09:28:28 +08:00
CpuMpPei.inf UefiCpuPkg/CpuMpPei: support stack guard feature 2018-09-10 09:28:28 +08:00
CpuMpPei.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
CpuMpPeiExtra.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
CpuPaging.c UefiCpuPkg/CpuMpPei: fix vs2012 build error 2018-09-26 10:20:33 +08:00