summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2018-09-03 10:56:07 +0800
committerJian J Wang <jian.j.wang@intel.com>2018-09-10 09:28:28 +0800
commit0a0d5296e448fc350de1594c49b9c0deff7fad60 (patch)
treeb4435228c7f87ce13f3180e9247b1898e5c18fc7 /SecurityPkg
parente09b6b5953db38db87b84c80a2e95a82a1c91020 (diff)
downloadedk2-0a0d5296e448fc350de1594c49b9c0deff7fad60.tar.gz
edk2-0a0d5296e448fc350de1594c49b9c0deff7fad60.tar.bz2
edk2-0a0d5296e448fc350de1594c49b9c0deff7fad60.zip
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>
Diffstat (limited to 'SecurityPkg')
0 files changed, 0 insertions, 0 deletions