diff options
| author | Kun Qin <kuqin@microsoft.com> | 2026-07-24 03:12:02 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-30 16:46:46 +0300 |
| commit | bdd36cdc1a1fb411bc8edc5f8ec81115be99ab48 (patch) | |
| tree | 006b78eb0c3098bbf0425a42930889b613371327 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c | |
| parent | 93ee30067582f325c951505c835f5c5b85649148 (diff) | |
| download | edk2-bdd36cdc1a1fb411bc8edc5f8ec81115be99ab48.tar.xz | |
SecurityPkg: Tcg2StandaloneMmArm: Align PP buffer with ARM_FFA_ARGS
The misc MM communicate buffer now stores the FF-A direct message
registers in an ARM_FFA_ARGS layout that preserves the native register
indices. The TCG physical presence callback must therefore locate the
TCG_NVS payload at the correct register offset instead of the start of
the communication buffer.
Point LocalTcgNvs at CommBuffer + OFFSET_OF (ARM_FFA_ARGS, Arg4) and
validate the buffer size against sizeof (ARM_FFA_ARGS). Add a
STATIC_ASSERT to guarantee TCG_NVS fits within the register space
available for the direct message payload, and include ArmFfaLib.h for
the ARM_FFA_ARGS definition.
Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions
