audk/MdeModulePkg
Jian J Wang a8ab14d355 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
2017-12-08 14:38:51 +08:00
..
Application MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
Bus MdeModulePkg/NvmExpressDxe: fix error status override 2017-12-05 08:28:37 +08:00
Core MdeModulePkg/Core/Dxe: Call new API InitializeCpuExceptionHandlersEx instead 2017-12-08 14:38:51 +08:00
Include MdeModulePkg/CpuExceptionHandlerLib.h: Add a new API InitializeCpuExceptionHandlersEx 2017-12-08 14:38:47 +08:00
Library MdeModulePkg/CpuExceptionHandlerLibNull: Add new API implementation 2017-12-08 14:38:49 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg/DisplayEngineDxe: Remove unnecessary parentheses in 'if' 2017-12-06 08:47:56 +08:00
MdeModulePkg.dec MdeModulePkg/metafile: Add PCD PcdCpuStackGuard 2017-12-08 14:38:46 +08:00
MdeModulePkg.dsc MdeModulePkg: Add UdfDxe to the dsc file 2017-09-13 18:24:40 +08:00
MdeModulePkg.uni MdeModulePkg/metafile: Add PCD PcdCpuStackGuard 2017-12-08 14:38:46 +08:00
MdeModulePkgExtra.uni