StandaloneMmPkg/Library: Print warning message if GUID HOB not found
This patch is to print the warning message if GUID HOB not found Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
parent
de13423277
commit
72db37b2f1
|
@ -191,6 +191,10 @@ GetNextGuidHob (
|
||||||
GuidHob.Raw = GET_NEXT_HOB (GuidHob);
|
GuidHob.Raw = GET_NEXT_HOB (GuidHob);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((GuidHob.Raw == NULL) && (HobStart == GetHobList ())) {
|
||||||
|
DEBUG ((DEBUG_WARN, "MM: GUIDed HOB [%g] not found in the entire HOB list.\n", Guid));
|
||||||
|
}
|
||||||
|
|
||||||
return GuidHob.Raw;
|
return GuidHob.Raw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue