edk2/UefiCpuPkg/SecCore
Oliver Smith-Denny 3454d7ab41 UefiCpuPkg: Set up 256 IDT Descs in SEC/PEI/SMM
Currently, SEC, PEI, and SMM only set up 32 - 34 IDT
descs. This means that any exceptions received above
that number will cause a #GP fault.

This commit updates these environments to follow DXE
and set up the IDT with the architecturally defined
256 entries, each of which point to the common
exception handler.

This does two things:
- Has well defined behavior for receiving exceptions in
  these environments instead of relying on a #GP fault to
  occur.
- Allows the stack cookie interrupt (0x42) to be routed
  correctly instead of appearing as a #GP fault.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-03-07 03:58:40 +00:00
..
Ia32 UefiCpuPkg/SecCore: Remove AP waking Vector logic in SecCore 2023-09-18 02:39:25 +00:00
FindPeiCore.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecBist.c UefiCpuPkg/SecCore: Add support for architectures beyond IA32 and X64 2025-07-15 05:45:15 +00:00
SecCore.inf UefiCpuPkg/SecCore: Add support for architectures beyond IA32 and X64 2025-07-15 05:45:15 +00:00
SecCore.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SecCoreExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SecCoreNative.inf UefiCpuPkg/SecCore: Add support for architectures beyond IA32 and X64 2025-07-15 05:45:15 +00:00
SecMain.c UefiCpuPkg: Set up 256 IDT Descs in SEC/PEI/SMM 2026-03-07 03:58:40 +00:00
SecMain.h UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SecTemporaryRamDone.c UefiCpuPkg: fix various typos 2025-11-21 21:49:59 +00:00