OcBootManagementLib: Log custom entries
@@ -319,7 +319,7 @@ OcScanForBootEntries (
FreePool (DevPathScanInfos);
if (Describe) {
- DEBUG ((DEBUG_INFO, "Scanning got %u entries\n", (UINT32) EntryIndex));
+ DEBUG ((DEBUG_INFO, "OCB: Scanning got %u entries\n", (UINT32) EntryIndex));
for (Index = 0; Index < EntryIndex; ++Index) {
Status = OcDescribeBootEntry (BootPolicy, &Entries[Index]);
@@ -330,7 +330,7 @@ OcScanForBootEntries (
DEBUG_CODE_BEGIN ();
DEBUG ((
DEBUG_INFO,
- "Entry %u is %s at %s (T:%d|F:%d)\n",
+ "OCB: Entry %u is %s at %s (T:%d|F:%d)\n",
(UINT32) Index,
Entries[Index].Name,
Entries[Index].PathName,
@@ -342,7 +342,7 @@ OcScanForBootEntries (
if (DevicePathText != NULL) {
DEBUG ((
DEBUG_INFO,
- "Entry %u is %s at dp %s\n",
+ "OCB: Entry %u is %s at dp %s\n",
(UINT32) Index,
Entries[Index].Name,
DevicePathText
@@ -369,6 +369,13 @@ OcScanForBootEntries (
Entries[EntryIndex].Type = OcBootCustom;
if (Index < Context->AbsoluteEntryCount) {
+ DEBUG ((
+ DEBUG_INFO,
+ "OCB: Custom entry %u is %a\n",
+ (UINT32) EntryIndex,
+ Entries[EntryIndex].Name
+ ));
+
Entries[EntryIndex].DevicePath = ConvertTextToDevicePath (PathName);
FreePool (PathName);
if (Entries[EntryIndex].DevicePath == NULL) {
