/* The constructor function checks whether or not RNDR instruction is supported. It will ASSERT() if RNDR instruction is not supported. It will always return EFI_SUCCESS. */
EFI_STATUS EFIAPI BaseRngLibConstructor(VOID)
/* The constructor function checks whether or not RNDR instruction is supported. It will ASSERT() if RNDR instruction is not supported. It will always return EFI_SUCCESS. */
EFI_STATUS EFIAPI BaseRngLibConstructor(VOID)
{
  UINT64  Isar0;
  Isar0 = ArmReadIdIsar0 ();
  ASSERT ((Isar0 & RNDR_MASK) != 0);
  mRndrSupported = ((Isar0 & RNDR_MASK) != 0);
  return EFI_SUCCESS;
}