/* Return protocol attributes of the performance management protocol. */
STATIC EFI_STATUS PerformanceGetAttributes(IN SCMI_PERFORMANCE_PROTOCOL *This, OUT SCMI_PERFORMANCE_PROTOCOL_ATTRIBUTES *Attributes)
/* Return protocol attributes of the performance management protocol. */
STATIC EFI_STATUS PerformanceGetAttributes(IN SCMI_PERFORMANCE_PROTOCOL *This, OUT SCMI_PERFORMANCE_PROTOCOL_ATTRIBUTES *Attributes)
{
  EFI_STATUS  Status;
  UINT32      *ReturnValues;
  Status = ScmiGetProtocolAttributes (
             ScmiProtocolIdPerformance,
             &ReturnValues
             );
  if (EFI_ERROR (Status)) {
    return Status;
  }
  CopyMem (
    Attributes,
    ReturnValues,
    sizeof (SCMI_PERFORMANCE_PROTOCOL_ATTRIBUTES)
    );
  return EFI_SUCCESS;
}