Files
edk2/SecurityPkg
Phil Noh 21eff866e7 SecurityPkg/Tpm2DeviceLibDTpm: Remove global variable for command code
As a BASE type library, currently the TCG PEI driver, Tcg2Pei.inf links
the library. On edk2-stable202508 version, it is found that the driver
includes and updates the global variable of mLastCommandSent in debug
build. Also found that the previous commit (460f270) for the library adds
and uses the global variable. Updating the global variable in PEI drivers
could affect the following issues. To address these issues, remove the
global variable usage.

PEI ROM Boot : Global variable is not updated
PEI RAM Boot : PEI FV integration/security check is failed

Signed-off-by: Phil Noh <Phil.Noh@amd.com>
2025-09-25 10:24:54 +00:00
..