mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Debug message to enable real time debugging.
This commit is contained in:
parent
79e69d1ec7
commit
c59da4d55a
@ -154,6 +154,14 @@ static EFI_STATUS LoadEFIImageList(IN EFI_DEVICE_PATH **DevicePaths,
|
|||||||
if (NewImageHandle != NULL) {
|
if (NewImageHandle != NULL) {
|
||||||
*NewImageHandle = ChildImageHandle;
|
*NewImageHandle = ChildImageHandle;
|
||||||
}
|
}
|
||||||
|
#ifdef CLOVER_DEBUG
|
||||||
|
EFI_LOADED_IMAGE_PROTOCOL* loadedBootImage = NULL;
|
||||||
|
if (!EFI_ERROR(Status = gBS->HandleProtocol(ChildImageHandle, &gEfiLoadedImageProtocolGuid, (void**)(&loadedBootImage)))) {
|
||||||
|
DBG("%S : Image base = 0x%lx", ImageTitle, loadedBootImage->ImageBase); // Jief : Do not change this, it's used by grep to feed the debugger
|
||||||
|
}else{
|
||||||
|
DBG("Can't get loaded image protocol");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
goto bailout;
|
goto bailout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user