Skip to content
Commit 4764aa50 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by mergify[bot]
Browse files

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: default avatarArd Biesheuvel <ardb@kernel.org>
Reviewed-by: default avatarRay Ni <ray.ni@intel.com>
parent 95f03309
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment