Semi-functional code for displaying boot menu
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 31s
Builds / ExectOS (i686) (push) Successful in 28s

This commit is contained in:
2023-12-19 19:50:14 +01:00
parent edcce638be
commit a7c345a9b2
2 changed files with 199 additions and 0 deletions

View File

@@ -9,6 +9,10 @@
#include <xtldr.h>
XTCDECL
VOID
BlDisplayBootMenu();
/**
* Initializes a list of operating systems for XTLDR boot menu.
*
@@ -186,6 +190,12 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
BlDebugPrint(L"ERROR: Failed to discover and enumerate block devices\n");
}
for(;;)
{
/* Display boot menu */
BlDisplayBootMenu();
}
/* This point should be never reached, if this happen return error code */
return STATUS_EFI_LOAD_ERROR;
}