From e0c8b313ff29f18cdde28fe1f08e4a120c5aeefc Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Fri, 31 Jul 2026 20:08:18 +0200 Subject: [PATCH] Cleanup --- boot/xtldr/xtldr.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boot/xtldr/xtldr.cc b/boot/xtldr/xtldr.cc index fed2f1eba..2fa8ab624 100644 --- a/boot/xtldr/xtldr.cc +++ b/boot/xtldr/xtldr.cc @@ -138,6 +138,9 @@ XtLoader::InitializeBootLoader(IN EFI_HANDLE ImageHandle, /* Initialize XTLDR configuration */ Configuration::InitializeConfiguration(); + /* Initialize shell */ + Shell::InitializeShell(); + /* Store SecureBoot status */ LoaderStatus.SecureBoot = EfiUtils::GetSecureBootStatus(); @@ -245,9 +248,8 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle, for(;;); } - /* Initialize XTLDR and shell */ + /* Initialize XTLDR */ XtLoader::InitializeBootLoader(ImageHandle, SystemTable); - Shell::InitializeShell(); /* Parse configuration options passed from UEFI shell */ Status = Configuration::ParseCommandLine();