edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib
Ard Biesheuvel 4764aa50ef UefiCpuPkg/PeiCpuExceptionHandlerLib: Use SEC/PEI specific asm component
The PEI flavor of CpuExceptionHandlerLib never populates more than 32
IDT vectors, and there is no CET shadow stack support in the PEI phase.
So there is no need to use the generic ExceptionHandler NASM source,
which carries a 256-entry template and CET support, and writes to its
own .text section when built using XCODE, which is not permitted in the
PEI phase. So let's switch to the reduced SEC/PEI version of this
component, which is sufficient for PEI and doesn't suffer from the same
issue.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2023-04-06 06:52:55 +00:00
..
Ia32 UefiCpuPkg/CpuExceptionHandlerLib: Code optimization to allow bigger stack 2022-10-08 05:45:22 +00:00
UnitTest UefiCpuPkg: Restore HpetTimer after CpuExceptionHandlerLib test 2022-10-28 09:02:46 +00:00
X64 UefiCpuPkg/CpuExceptionHandlerLib: Use single SEC/PEI version 2023-04-06 06:52:55 +00:00
CpuExceptionCommon.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuExceptionCommon.h UefiCpuPkg: Simplify the implementation when separate exception stacks 2022-08-31 04:23:55 +00:00
DxeCpuExceptionHandlerLib.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
DxeCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
DxeException.c UefiCpuPkg: Simplify the implementation when separate exception stacks 2022-08-31 04:23:55 +00:00
PeiCpuException.c UefiCpuPkg:Add RegisterExceptionHandler in PeiCpuExceptionHandlerLib 2022-10-17 08:03:06 +00:00
PeiCpuExceptionHandlerLib.inf UefiCpuPkg/PeiCpuExceptionHandlerLib: Use SEC/PEI specific asm component 2023-04-06 06:52:55 +00:00
PeiCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PeiDxeSmmCpuException.c OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00
SecPeiCpuException.c OvmfPkg/UefiCpuPkg: Add CcExit prefix to the APIs of CcExitLib 2022-11-14 04:55:34 +00:00
SecPeiCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Use single SEC/PEI version 2023-04-06 06:52:55 +00:00
SecPeiCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmCpuExceptionHandlerLib.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
SmmCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmException.c UefiCpuPkg: Simplify InitializeSeparateExceptionStacks 2022-08-09 04:12:28 +00:00
Xcode5SecPeiCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Use single SEC/PEI version 2023-04-06 06:52:55 +00:00
Xcode5SecPeiCpuExceptionHandlerLib.uni UefiCpuPkg/CpuExceptionHandler: Make XCODE5 changes toolchain specific 2020-05-11 19:25:33 +00:00