in OemPkg/Library/MsBootPolicyLib/MsBootPolicyLib.c [133:146]
static VOID PrintDevicePath(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath) {
CHAR16 *ToText = NULL;
if (DevicePath != NULL) {
ToText = ConvertDevicePathToText (DevicePath, TRUE, TRUE);
}
DEBUG((DEBUG_INFO,"%s",ToText)); // Output NewLine separately in case string is too long
DEBUG((DEBUG_INFO,"\n"));
if (NULL != ToText) {
FreePool(ToText);
}
return;
}