XTLDR Rewrite #7
@ -300,6 +300,15 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Load boot loader modules */
|
||||
Status = BlLoadModules(BlGetConfigValue(L"MODULES"));
|
||||
if(Status != STATUS_EFI_SUCCESS)
|
||||
{
|
||||
/* Failed to load modules */
|
||||
BlDebugPrint(L"ERROR: Failed to load XTLDR modules (Status Code: 0x%lx)\n", Status);
|
||||
BlDisplayErrorDialog(L"XTLDR", L"Failed to load some XTLDR modules.");
|
||||
}
|
||||
|
||||
/* Discover and enumerate EFI block devices */
|
||||
Status = BlEnumerateBlockDevices();
|
||||
if(Status != STATUS_EFI_SUCCESS)
|
||||
@ -309,10 +318,6 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
||||
return Status;
|
||||
}
|
||||
|
||||
BlLoadModules(BlGetConfigValue(L"MODULES"));
|
||||
|
||||
BlLoadModule(L"DUMMY");
|
||||
|
||||
|
||||
BlConsolePrint(L"\n\n\n\n\n\n\n\nList of loaded modules:");
|
||||
PLIST_ENTRY ModuleListEntry;
|
||||
|
Loading…
Reference in New Issue
Block a user