/* @guid: GUID to search @hob_list: A pointer to the HOB list */
const struct hob_header* hob_get_next_guid_hob(const efi_guid_t *guid, const void *hob_list)
/* @guid: GUID to search @hob_list: A pointer to the HOB list */
const struct hob_header* hob_get_next_guid_hob(const efi_guid_t *guid, const void *hob_list)
{
	const struct hob_header *hdr;
	struct hob_guid *guid_hob;
	hdr = hob_list;
	while ((hdr = hob_get_next_hob(HOB_TYPE_GUID_EXT, hdr))) {
		guid_hob = (struct hob_guid *)hdr;
		if (!guidcmp(guid, &guid_hob->name))
			break;
		hdr = get_next_hob(hdr);
	}
	return hdr;
}