audk/MdePkg
Ard Biesheuvel 4ddf2448ed MdePkg/BaseRngLib AARCH64: Remove overzealous ASSERT()
BaseRngLib on AARCH64 will discover whether or not RNDR instructions are
supported, by inspecting the ISAR0 identification register, and setting
a global boolean accordingly. This boolean is used in subsequent
execution to decide whether or not to issue the instruction.

The same discovery code also ASSERT()s that RNDR instructions are
implemented, which is unnecessary, and breaks execution on systems that
incorporate the library but don't implement the instruction (or fail to
expose it to the exception level that the firmware executes at).

So drop the ASSERT().

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>

Committed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Doug Flick [MSFT] <doug.edk2@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2024-05-24 15:48:52 +00:00
..
Include MdePkg: Updated SpcrTable structure for Revision_4 2024-05-09 15:08:55 +08:00
Library MdePkg/BaseRngLib AARCH64: Remove overzealous ASSERT() 2024-05-24 15:48:52 +00:00
Test MdePkg: Add MockHash2 Protocol for testing 2024-05-24 15:48:52 +00:00
MdeLibs.dsc.inc MdePkg: Add MmUnblockMemoryLib to MdeLibs.dsc 2024-05-10 03:46:27 +00:00
MdePkg.ci.yaml MdePkg: Add LoongArch Cpucfg function 2024-02-06 23:51:47 +08:00
MdePkg.dec MdePkg.dec: RISC-V: Define override bit for Svpbmt extension 2024-04-08 05:43:59 +00:00
MdePkg.dsc MdePkg: Add a new library named PeiServicesTablePointerLibKs0 2024-02-06 23:51:47 +08:00
MdePkg.uni MdePkg: Utilize Cache Management Operations Implementation For RISC-V 2023-12-19 12:48:14 +00:00
MdePkgExtra.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00