ArmMonitorCall (&Parameters);\r
Status = TrngStatusToReturnStatus ((INT32)Parameters.Arg0);\r
if (RETURN_ERROR (Status)) {\r
- ASSERT_RETURN_ERROR (Status);\r
goto ErrorHandler;\r
}\r
\r
// Cf [1] s2.1.3 'Caller responsibilities',\r
// SMCCC version must be greater or equal than 1.1\r
if ((INT32)Parameters.Arg0 < 0x10001) {\r
- ASSERT_RETURN_ERROR (RETURN_UNSUPPORTED);\r
goto ErrorHandler;\r
}\r
\r
// Check that the required features are present.\r
Status = GetArmTrngFeatures (ARM_SMC_ID_TRNG_RND, NULL);\r
if (RETURN_ERROR (Status)) {\r
- ASSERT_RETURN_ERROR (Status);\r
goto ErrorHandler;\r
}\r
\r
// Check if TRNG UUID is supported and if so trace the GUID.\r
Status = GetArmTrngFeatures (ARM_SMC_ID_TRNG_GET_UUID, NULL);\r
if (RETURN_ERROR (Status)) {\r
- ASSERT_RETURN_ERROR (Status);\r
goto ErrorHandler;\r
}\r
\r
\r
Status = GetArmTrngUuid (&Guid);\r
if (RETURN_ERROR (Status)) {\r
- ASSERT_RETURN_ERROR (Status);\r
goto ErrorHandler;\r
}\r
\r