/* Internal common function useful for common protocol discovery messages. */
STATIC EFI_STATUS ScmiProtocolDiscoveryCommon(IN SCMI_PROTOCOL_ID ProtocolId, IN SCMI_MESSAGE_ID MessageId, OUT UINT32 **ReturnValues)
/* Internal common function useful for common protocol discovery messages. */
STATIC EFI_STATUS ScmiProtocolDiscoveryCommon(IN SCMI_PROTOCOL_ID ProtocolId, IN SCMI_MESSAGE_ID MessageId, OUT UINT32 **ReturnValues)
{
  SCMI_COMMAND  Command;
  UINT32        PayloadLength;
  PayloadLength      = 0;
  Command.ProtocolId = ProtocolId;
  Command.MessageId  = MessageId;
  return ScmiCommandExecute (
           &Command,
           &PayloadLength,
           ReturnValues
           );
}