intel / intel/FSP

x86_64 firmware support: Use fixed size struct elements to support cross arch firmwares

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
359
Forks
142
PR merge metrics
No merged PRs in 30d

Description

As FSP binaries are released with a fixed architecture (x86_32), the header must *not* contain variable size fields like SIZE_T, UINTN, VOID* or UINTPTR_T. If compiled on x86_64 this would cause those structs to not match the ones used internally by FSP as the element size differs.

Please remove such elements and only use variables that have a fixed size, even on when compiled on x86_64.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.