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:
Jiaxin Wu 2025-03-10 12:09:16 +08:00 committed by mergify[bot]
parent de13423277
commit 72db37b2f1
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ GetNextGuidHob (
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;
}