From 9301e5644cef5a5234f71b178373dd508cabb9ee Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Mon, 10 May 2021 15:53:07 -0600 Subject: MdePkg/BaseRngLib: Add support for ARMv8.5 RNG instructions Make BaseRngLib more generic by moving x86-specific functionality into 'Rand' and adding files under 'AArch64' to support the optional ARMv8.5 RNG instruction RNDR that is a part of FEAT_RNG. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao Reviewed-by: Sami Mujawar --- MdePkg/MdePkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'MdePkg/MdePkg.dsc') diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index d363419..a949591 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -145,6 +145,9 @@ MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf +[Components.IA32, Components.X64, Components.AARCH64] + MdePkg/Library/BaseRngLib/BaseRngLib.inf + [Components.IA32, Components.X64] MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf @@ -168,7 +171,6 @@ MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf MdePkg/Library/SmmMemLib/SmmMemLib.inf MdePkg/Library/SmmIoLib/SmmIoLib.inf - MdePkg/Library/BaseRngLib/BaseRngLib.inf MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf -- cgit v1.1