Refactor part 6
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 27s
Builds / ExectOS (i686) (push) Successful in 46s

This commit is contained in:
2023-12-04 16:32:07 +01:00
parent 9a3e0f69fa
commit 2b2efd0dd3
8 changed files with 162 additions and 88 deletions

View File

@@ -29,12 +29,8 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
{
EFI_STATUS Status;
/* Set the system table and image handle */
EfiImageHandle = ImageHandle;
EfiSystemTable = SystemTable;
/* Initialize UEFI console and early print XTLDR version */
BlpConsoleInitialize();
/* Initialize XTLDR and early print XTLDR version */
BlpInitializeEfiBootLoader();
BlConsolePrint(L"XTLDR boot loader v%s\n", XTOS_VERSION);
/* Parse configuration options passed from UEFI shell */
@@ -43,7 +39,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
/* Attempt to early initialize debug console */
if(DEBUG)
{
Status = BlpDebugInitializeConsole();
Status = BlpInitializeDebugConsole();
if(Status != STATUS_EFI_SUCCESS)
{
/* Initialization failed, notify user on stdout */