summaryrefslogtreecommitdiffstats
path: root/MdePkg/MdePkg.dsc
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@nuviainc.com>2021-05-10 15:53:07 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-05-11 16:26:05 +0000
commit9301e5644cef5a5234f71b178373dd508cabb9ee (patch)
tree6bd7cc844612c8352541d43bb0e21fe1c530add2 /MdePkg/MdePkg.dsc
parentef3840c1ff320698523dd6b94ba7c86354392784 (diff)
downloadedk2-9301e5644cef5a5234f71b178373dd508cabb9ee.tar.gz
edk2-9301e5644cef5a5234f71b178373dd508cabb9ee.tar.bz2
edk2-9301e5644cef5a5234f71b178373dd508cabb9ee.zip
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 <rebecca@nuviainc.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'MdePkg/MdePkg.dsc')
-rw-r--r--MdePkg/MdePkg.dsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc
index d363419006..a94959169b 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