audk/UefiCpuPkg/CpuMpPei
Jian J Wang 0a0d5296e4 UefiCpuPkg/CpuMpPei: support stack guard feature
This feature is the same as Stack Guard enabled in driver CpuDxe but
applies to PEI phase. Due to the specialty in PEI module dispatching,
this driver is changed to do the actual initialization in notify
callback of event gEfiPeiMemoryDiscoveredPpiGuid. This can let the
stack guard apply to as most PEI drivers as possible.

To let Stack Guard work, some simple page table management code are
introduced to setup Guard page at base of stack for each processor.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: "Ware, Ryan R" <ryan.r.ware@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2018-09-10 09:28:28 +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: support stack guard feature 2018-09-10 09:28:28 +08:00