/* Initialize parameters to be sent via SVC call. */
STATIC VOID InitArmSvcArgs(OUT ARM_SVC_ARGS *InitMmFoundationSvcArgs, OUT INT32 *Ret)
/* Initialize parameters to be sent via SVC call. */
STATIC VOID InitArmSvcArgs(OUT ARM_SVC_ARGS *InitMmFoundationSvcArgs, OUT INT32 *Ret)
{
  if (FeaturePcdGet (PcdFfaEnable)) {
    InitMmFoundationSvcArgs->Arg0 = ARM_SVC_ID_FFA_MSG_SEND_DIRECT_RESP;
    InitMmFoundationSvcArgs->Arg1 = 0;
    InitMmFoundationSvcArgs->Arg2 = 0;
    InitMmFoundationSvcArgs->Arg3 = ARM_SVC_ID_SP_EVENT_COMPLETE;
    InitMmFoundationSvcArgs->Arg4 = *Ret;
  } else {
    InitMmFoundationSvcArgs->Arg0 = ARM_SVC_ID_SP_EVENT_COMPLETE;
    InitMmFoundationSvcArgs->Arg1 = *Ret;
  }
}