audk/MdeModulePkg
Jian J Wang 408b833049 MdeModulePkg/CpuExceptionHandlerLib.h: Add a new API InitializeCpuExceptionHandlersEx
A new API InitializeCpuExceptionHandlersEx() is introduced to support
initializing exception handlers with extra functionalities which need
extra init data, such as stack switch for Stack Guard feature.

EFI_STATUS
  EFIAPI
  InitializeCpuExceptionHandlersEx (
    IN EFI_VECTOR_HANDOFF_INFO            *VectorInfo OPTIONAL,
    IN CPU_EXCEPTION_INIT_DATA            *InitData OPTIONAL
    );

By default, this method should include all functionalities implemented by
InitializeCpuExceptionHandlers(), plus extra initialization works, if any.
This is could be done by calling InitializeCpuExceptionHandlers() directly
in this method besides the extra works.

InitData is optional and its use and content are processor arch dependent.
The typical usage of it is to convey resources which have to be reserved
elsewhere and are necessary for the extra initialization of exception.

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:47 +08:00
..
Application
Bus
Core MdeModulePkg PiSmmIpl: Handle CommSize OPTIONAL case 2017-12-07 17:40:25 +08:00
Include MdeModulePkg/CpuExceptionHandlerLib.h: Add a new API InitializeCpuExceptionHandlersEx 2017-12-08 14:38:47 +08:00
Library MdeModulePkg/NetLib: Fix an error when AIP doesn't support network media state detection 2017-12-08 09:31:31 +08:00
Logo
Universal
MdeModulePkg.dec MdeModulePkg/metafile: Add PCD PcdCpuStackGuard 2017-12-08 14:38:46 +08:00
MdeModulePkg.dsc
MdeModulePkg.uni MdeModulePkg/metafile: Add PCD PcdCpuStackGuard 2017-12-08 14:38:46 +08:00
MdeModulePkgExtra.uni