/* Return string for display to represent the protocol.  */
static const char* get_guid_text(const efi_guid_t *guid)
/* Return string for display to represent the protocol.  */
static const char* get_guid_text(const efi_guid_t *guid)
{
	int i;
	for (i = 0; i < ARRAY_SIZE(guid_list); i++)
		if (!guidcmp(&guid_list[i].guid, guid))
			break;
	if (i != ARRAY_SIZE(guid_list))
		return guid_list[i].text;
	else
		return NULL;
}