Check block devices enumeration status
This commit is contained in:
parent
a413ae852e
commit
3025338e71
@ -69,7 +69,12 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Discover and enumerate EFI block devices */
|
/* Discover and enumerate EFI block devices */
|
||||||
BlEnumerateBlockDevices();
|
Status = BlEnumerateBlockDevices();
|
||||||
|
if(Status != STATUS_EFI_SUCCESS)
|
||||||
|
{
|
||||||
|
/* Failed to enumerate block devices */
|
||||||
|
BlDebugPrint(L"ERROR: Failed to discover and enumerate block devices\n");
|
||||||
|
}
|
||||||
|
|
||||||
/* Temporary infinite loop */
|
/* Temporary infinite loop */
|
||||||
for(;;);
|
for(;;);
|
||||||
|
Loading…
Reference in New Issue
Block a user