Add a way to define custom boot menu handler
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 27s
Builds / ExectOS (i686) (push) Successful in 25s

This commit is contained in:
2023-12-23 10:43:00 +01:00
parent 57b6037dd6
commit ea5365dcfd
4 changed files with 42 additions and 7 deletions

View File

@@ -191,8 +191,16 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
for(;;)
{
/* Display boot menu */
BlDisplayBootMenu();
if(BlpStatus.BootMenu != NULL)
{
/* Display alternative boot menu */
BlpStatus.BootMenu();
}
else
{
/* Display default boot menu */
BlDisplayBootMenu();
}
}
/* This point should be never reached, if this happen return error code */