Add a way to define custom boot menu handler
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user