/* Returns information for the given variable namespace if available. */
CONST VAR_POLICY_CMD_VAR_NAMESPACE* GetNameSpaceInfo(IN EFI_GUID *VariableGuid)
/* Returns information for the given variable namespace if available. */
CONST VAR_POLICY_CMD_VAR_NAMESPACE* GetNameSpaceInfo(IN EFI_GUID *VariableGuid)
{
  UINTN  Index;
  if (VariableGuid == NULL) {
    ASSERT (VariableGuid != NULL);
    return NULL;
  }
  for (Index = 0; Index < ARRAY_SIZE (mVarNamespaces); Index++) {
    if (CompareGuid (mVarNamespaces[Index].VendorGuid, VariableGuid)) {
      return &mVarNamespaces[Index];
    }
  }
  return NULL;
}