/* @hob_list: A HOB list pointer. @len: A pointer to the GUID HOB data buffer length. If the GUID HOB is located, the length will be updated. @guid A pointer to HOB GUID. */
void* hob_get_guid_hob_data(const void *hob_list, u32 *len, const efi_guid_t *guid)
/* @hob_list: A HOB list pointer. @len: A pointer to the GUID HOB data buffer length. If the GUID HOB is located, the length will be updated. @guid A pointer to HOB GUID. */
void* hob_get_guid_hob_data(const void *hob_list, u32 *len, const efi_guid_t *guid)
{
	const struct hob_header *guid_hob;
	guid_hob = hob_get_next_guid_hob(guid, hob_list);
	if (!guid_hob)
		return NULL;
	if (len)
		*len = get_guid_hob_data_size(guid_hob);
	return get_guid_hob_data(guid_hob);
}