summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2017-12-07 20:17:32 +0800
committerStar Zeng <star.zeng@intel.com>2017-12-08 14:38:51 +0800
commita8ab14d355072241915d87de86770c0fde92cba9 (patch)
tree9195d737552dee259b084e444de5b0caefc7eb2a /MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c
parent01953ce68e7276c6c847b31da3a201dd2c8595ea (diff)
downloadedk2-a8ab14d355072241915d87de86770c0fde92cba9.tar.gz
edk2-a8ab14d355072241915d87de86770c0fde92cba9.tar.bz2
edk2-a8ab14d355072241915d87de86770c0fde92cba9.zip
MdeModulePkg/Core/Dxe: Call new API InitializeCpuExceptionHandlersEx instead
Original API InitializeCpuExceptionHandlers is used in DxeMain to initialize exception handlers but it does not support setting up stack switch required by Stack Guard feature. Using the new API instead to make sure Stack Guard feature is applicable to most part of code. Since this API is called before memory service initialization, there's no way to call AllocateXxx API to reserve memory. Global variables are used for this special case. GDT table is reserved at least 2KB which should be big enough for all current use cases. 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
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c')
0 files changed, 0 insertions, 0 deletions