From 31c8e502c58ca1576e9d7db972322ec387edf5b8 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Thu, 7 Dec 2023 15:53:37 +0100 Subject: [PATCH] Discover and enumerate EFI block devices --- xtldr2/xtldr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xtldr2/xtldr.c b/xtldr2/xtldr.c index 513cca2..1a5dba4 100644 --- a/xtldr2/xtldr.c +++ b/xtldr2/xtldr.c @@ -68,6 +68,9 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle, BlDebugPrint(L"ERROR: Failed to register XTLDR loader protocol\n"); } + /* Discover and enumerate EFI block devices */ + BlEnumerateBlockDevices(); + /* Temporary infinite loop */ for(;;);