Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: edb312d5d0f00685e75639b8607d54c93d47aca8
      
https://github.com/tianocore/edk2/commit/edb312d5d0f00685e75639b8607d54c93d47aca8
  Author: Phil Noh <[email protected]>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M MdePkg/Library/BaseRngLib/Rand/RdRand.c

  Log Message:
  -----------
  MdePkg/BaseRngLib: Remove global variable for RDRAND state update

As a BASE type library, some PEI drivers could link and use it.
Tcg2Pei.inf is an example. On edk2-stable202408 version, PEI drivers
that link the library include the global variable of mRdRandSupported.
The previous commit (c3a8ca7) that refers to the global variable actually
is found to influence the link status. Updating the global variable
in PEI drivers could affect the following issues.

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

To address these issues, remove the global variable usage.

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