If any of this occur, return error status code
This commit is contained in:
parent
4b683eb2cd
commit
aa534ef011
@ -175,6 +175,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
||||
{
|
||||
/* Failed to register loader protocol */
|
||||
BlDebugPrint(L"ERROR: Failed to register XTLDR boot protocol\n");
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Discover and enumerate EFI block devices */
|
||||
@ -183,6 +184,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
||||
{
|
||||
/* Failed to enumerate block devices */
|
||||
BlDebugPrint(L"ERROR: Failed to discover and enumerate block devices\n");
|
||||
return Status;
|
||||
}
|
||||
|
||||
for(;;)
|
||||
|
Loading…
Reference in New Issue
Block a user