Load boot loader modules
This commit is contained in:
parent
b4ef1932ab
commit
fc3d236405
@ -300,6 +300,15 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
|||||||
return Status;
|
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 */
|
/* Discover and enumerate EFI block devices */
|
||||||
Status = BlEnumerateBlockDevices();
|
Status = BlEnumerateBlockDevices();
|
||||||
if(Status != STATUS_EFI_SUCCESS)
|
if(Status != STATUS_EFI_SUCCESS)
|
||||||
@ -309,10 +318,6 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
|||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
BlLoadModules(BlGetConfigValue(L"MODULES"));
|
|
||||||
|
|
||||||
BlLoadModule(L"DUMMY");
|
|
||||||
|
|
||||||
|
|
||||||
BlConsolePrint(L"\n\n\n\n\n\n\n\nList of loaded modules:");
|
BlConsolePrint(L"\n\n\n\n\n\n\n\nList of loaded modules:");
|
||||||
PLIST_ENTRY ModuleListEntry;
|
PLIST_ENTRY ModuleListEntry;
|
||||||
|
Loading…
Reference in New Issue
Block a user