Refactor part 6
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user