Semi-functional code for displaying boot menu
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user