Bootstrap: Print actual load path

closes acidanthera/bugtracker#1446
This commit is contained in:
vit9696 2021-01-20 17:15:59 +03:00
parent ae1ffc0bf8
commit 68de5dbd70
2 changed files with 7 additions and 1 deletions

View File

@ -93,6 +93,12 @@ LoadOpenCore (
// Try absolute path: EFI\\BOOT\\BOOTx64.efi -> EFI\\OC\\OpenCore.efi
//
if (Buffer == NULL) {
DEBUG ((
DEBUG_INFO,
"BS: Fallback to absolute path - %s\n",
OPEN_CORE_ROOT_PATH L"\\" OPEN_CORE_DRIVER_PATH
));
Buffer = ReadFile (
FileSystem,
OPEN_CORE_ROOT_PATH L"\\" OPEN_CORE_DRIVER_PATH,

View File

@ -298,7 +298,7 @@ OcSetConsoleResolution (
DEBUG ((DEBUG_WARN, "OCC: Failed to force resolution - %r\n", Result));
}
} else {
DEBUG ((DEBUG_WARN, "OCC: Missing OcForceResolution protocol - %r\n", Result));
DEBUG ((DEBUG_INFO, "OCC: Missing OcForceResolution protocol - %r\n", Result));
}
}