mirror_edk2/MdeModulePkg/Core/DxeIplPeim
Jian J Wang 50255363cb MdeModulePkg/DxeIpl: Enable paging for Stack Guard
Stack guard feature makes use of paging mechanism to monitor if there's a
stack overflow occurred during boot.

This patch will check setting of PCD PcdCpuStackGuard. If it's TRUE, DxeIpl
will setup page table and set the page at which the stack base locates to be
NOT PRESENT. If stack is used up and memory access cross into the last page
of it, #PF exception will be triggered.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Suggested-by: Ayellet Wolman <ayellet.wolman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com>
Reviewed-by: Jiewen.yao@intel.com
2017-12-08 14:38:52 +08:00
..
Arm ArmPkg ArmVirtPkg MdeModulePkg: switch to separate ArmMmuLib 2016-07-07 14:33:47 +02:00
Ebc Update the copyright notice format 2010-04-24 09:49:11 +00:00
Ia32 MdeModulePkg/DxeIpl: Enable paging for Stack Guard 2017-12-08 14:38:52 +08:00
Ipf Update the copyright notice format 2010-04-24 09:49:11 +00:00
X64 MdeModulePkg/DxeIpl: Enable paging for Stack Guard 2017-12-08 14:38:52 +08:00
DxeIpl.h MdeModulePkg/DxeIplPeim: Refine coding style in function comments 2017-10-24 09:14:17 +08:00
DxeIpl.inf MdeModulePkg/DxeIpl: Enable paging for Stack Guard 2017-12-08 14:38:52 +08:00
DxeIpl.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DxeIplExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DxeLoad.c MdeModulePkg/DxeIpl: Implement NULL pointer detection 2017-10-11 16:39:00 +08:00