diff options
author | Rebecca Cran <rebecca@nuviainc.com> | 2021-05-10 15:53:07 -0600 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-05-11 16:26:05 +0000 |
commit | 9301e5644cef5a5234f71b178373dd508cabb9ee (patch) | |
tree | 6bd7cc844612c8352541d43bb0e21fe1c530add2 /MdePkg/MdePkg.dec | |
parent | ef3840c1ff320698523dd6b94ba7c86354392784 (diff) | |
download | edk2-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.dec')
-rw-r--r-- | MdePkg/MdePkg.dec | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 8965e903e0..b49f88d8e1 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -267,6 +267,11 @@ #
RegisterFilterLib|Include/Library/RegisterFilterLib.h
+[LibraryClasses.IA32, LibraryClasses.X64, LibraryClasses.AARCH64]
+ ## @libraryclass Provides services to generate random number.
+ #
+ RngLib|Include/Library/RngLib.h
+
[LibraryClasses.IA32, LibraryClasses.X64]
## @libraryclass Abstracts both S/W SMI generation and detection.
##
@@ -288,10 +293,6 @@ #
SmmPeriodicSmiLib|Include/Library/SmmPeriodicSmiLib.h
- ## @libraryclass Provides services to generate random number.
- #
- RngLib|Include/Library/RngLib.h
-
## @libraryclass Provides services to log the SMI handler registration.
SmiHandlerProfileLib|Include/Library/SmiHandlerProfileLib.h
|