Skip to content

UefiPayloadPkg: align DXE images for page protections#12864

Open
Sean-StarLabs wants to merge 1 commit into
tianocore:masterfrom
StarLabsLtd:agent/upstream-image-page-alignment
Open

UefiPayloadPkg: align DXE images for page protections#12864
Sean-StarLabs wants to merge 1 commit into
tianocore:masterfrom
StarLabsLtd:agent/upstream-image-page-alignment

Conversation

@Sean-StarLabs

@Sean-StarLabs Sean-StarLabs commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Align non-runtime DXE images to 4 KiB so DXE Core can apply page-granular image protections such as NX.

The change uses the correct linker syntax for GCC, XCODE, CLANGPDB and MSFT. Existing architecture-specific runtime-driver alignment remains unchanged.

Validated with PatchCheck and an X64 GCC Universal Payload build. AARCH64 is left to CI because this host has no cross-compiler.

Align non-runtime DXE images to 4 KiB so DXE Core can apply page
protections.

Use each toolchain linker syntax and retain the existing runtime-driver
alignment.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
@Sean-StarLabs
Sean-StarLabs force-pushed the agent/upstream-image-page-alignment branch from 4892a42 to 54f1016 Compare July 23, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant