Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 21eff866e7a8e7e9669ec3448a4a3f455a67f2f8
      
https://github.com/tianocore/edk2/commit/21eff866e7a8e7e9669ec3448a4a3f455a67f2f8
  Author: Phil Noh <[email protected]>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmDump.c
    M SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c
    M SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.h
    M SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c

  Log Message:
  -----------
  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 <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to