audk/MdePkg/Library/BaseRngLib
Phil Noh edb312d5d0 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 <Phil.Noh@amd.com>
2024-11-22 17:11:25 +00:00
..
AArch64 MdePkg/BaseRngLib: Prefer ArmReadIdAA64Isar0Reg() over ArmReadIdIsar0() 2024-08-01 13:41:01 +00:00
Rand MdePkg/BaseRngLib: Remove global variable for RDRAND state update 2024-11-22 17:11:25 +00:00
Riscv MdePkg/Library: Add RISCV64 support to BaseRngLib 2024-07-15 04:05:56 +00:00
BaseRng.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseRngLib.inf MdePkg/BaseRngLib: Prefer ArmReadIdAA64Isar0Reg() over ArmReadIdIsar0() 2024-08-01 13:41:01 +00:00
BaseRngLib.uni MdePkg/BaseRngLib: Add support for ARMv8.5 RNG instructions 2021-05-11 16:26:05 +00:00
BaseRngLibInternals.h MdePkg/Library/BaseRngLib: Fix include guard 2023-09-08 03:29:19 +00:00