Cleanup
This commit is contained in:
@@ -138,6 +138,9 @@ XtLoader::InitializeBootLoader(IN EFI_HANDLE ImageHandle,
|
|||||||
/* Initialize XTLDR configuration */
|
/* Initialize XTLDR configuration */
|
||||||
Configuration::InitializeConfiguration();
|
Configuration::InitializeConfiguration();
|
||||||
|
|
||||||
|
/* Initialize shell */
|
||||||
|
Shell::InitializeShell();
|
||||||
|
|
||||||
/* Store SecureBoot status */
|
/* Store SecureBoot status */
|
||||||
LoaderStatus.SecureBoot = EfiUtils::GetSecureBootStatus();
|
LoaderStatus.SecureBoot = EfiUtils::GetSecureBootStatus();
|
||||||
|
|
||||||
@@ -245,9 +248,8 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
|||||||
for(;;);
|
for(;;);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize XTLDR and shell */
|
/* Initialize XTLDR */
|
||||||
XtLoader::InitializeBootLoader(ImageHandle, SystemTable);
|
XtLoader::InitializeBootLoader(ImageHandle, SystemTable);
|
||||||
Shell::InitializeShell();
|
|
||||||
|
|
||||||
/* Parse configuration options passed from UEFI shell */
|
/* Parse configuration options passed from UEFI shell */
|
||||||
Status = Configuration::ParseCommandLine();
|
Status = Configuration::ParseCommandLine();
|
||||||
|
|||||||
Reference in New Issue
Block a user