diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2023-10-04 14:27:17 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-01 13:41:01 +0000 |
commit | 1715d672310a318ce441d27a3515d371329f8b5b (patch) | |
tree | 234b7d9f96a0254bdf60affb246dee5fc5803f18 /CryptoPkg | |
parent | 30e53f8b5efe0112eda7014cf846007fb0fb425f (diff) | |
download | edk2-1715d672310a318ce441d27a3515d371329f8b5b.tar.gz |
MdePkg/BaseRngLib: Prefer ArmReadIdAA64Isar0Reg() over ArmReadIdIsar0()
A ArmReadIdAA64Isar0Reg() function was recently added
to BaseLib. Use it instead of its ArmReadIdIsar0() equivalent,
which was private to the BaseRngLib library.
This also allows to avoid the confusion between the following
registers:
- ID_ISAR0_EL1: allows to probe for Divide instructions, Debug
instructions, ...
- ID_AA64ISAR0_EL1: AARCH64 specific register allowing to probe
for AESE, RNDR, ... instructions
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'CryptoPkg')
0 files changed, 0 insertions, 0 deletions