TianoCore EDK2 master
Loading...
Searching...
No Matches
BootMaintenanceManagerCustomizedUiSupport.c File Reference

Go to the source code of this file.

Data Structures

struct  UI_HII_DRIVER_INSTANCE
 

Macros

#define UI_HII_DRIVER_LIST_SIZE   0x8
 

Functions

VOID BmmCreateBootNextMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID BmmCreateTimeOutMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID BmmCreateBootOptionMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID BmmCreateDriverOptionMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID BmmCreateComOptionMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID BmmCreateBootFromFileMenu (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
VOID BmmCreateEmptyLine (IN EFI_HII_HANDLE HiiHandle, IN VOID *StartOpCodeHandle)
 
CHAR16 * ExtractDevicePathFromHandle (IN EFI_HII_HANDLE Handle)
 
BOOLEAN IsRequiredDriver (IN EFI_HII_HANDLE HiiHandle, IN EFI_GUID *Guid, OUT EFI_STRING_ID *PromptId, OUT EFI_STRING_ID *HelpId, OUT VOID *FormsetGuid)
 
EFI_STATUS BmmListThirdPartyDrivers (IN EFI_HII_HANDLE HiiHandle, IN EFI_GUID *ClassGuid, IN DRIVER_SPECIAL_HANDLER SpecialHandlerFn, IN VOID *StartOpCodeHandle)
 

Variables

STATIC UI_HII_DRIVER_INSTANCEgHiiDriverList
 

Detailed Description

The functions for Boot Maintainence Main menu.

Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BootMaintenanceManagerCustomizedUiSupport.c.

Macro Definition Documentation

◆ UI_HII_DRIVER_LIST_SIZE

#define UI_HII_DRIVER_LIST_SIZE   0x8

Definition at line 12 of file BootMaintenanceManagerCustomizedUiSupport.c.

Function Documentation

◆ BmmCreateBootFromFileMenu()

VOID BmmCreateBootFromFileMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Com Option menu in the page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 216 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmCreateBootNextMenu()

VOID BmmCreateBootNextMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create the dynamic item to allow user to set the "BootNext" vaule.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 32 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmCreateBootOptionMenu()

VOID BmmCreateBootOptionMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Boot Option menu in the page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 147 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmCreateComOptionMenu()

VOID BmmCreateComOptionMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Com Option menu in the page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 193 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmCreateDriverOptionMenu()

VOID BmmCreateDriverOptionMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Driver Option menu in the page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 170 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmCreateEmptyLine()

VOID BmmCreateEmptyLine ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create empty line menu in the front page.

Parameters
HiiHandleThe hii handle for the Uiapp driver.
StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 239 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmCreateTimeOutMenu()

VOID BmmCreateTimeOutMenu ( IN EFI_HII_HANDLE  HiiHandle,
IN VOID *  StartOpCodeHandle 
)

Create Time Out Menu in the page.

Parameters
[in]HiiHandleThe hii handle for the Uiapp driver.
[in]StartOpCodeHandleThe opcode handle to save the new opcode.

Definition at line 118 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ BmmListThirdPartyDrivers()

EFI_STATUS BmmListThirdPartyDrivers ( IN EFI_HII_HANDLE  HiiHandle,
IN EFI_GUID ClassGuid,
IN DRIVER_SPECIAL_HANDLER  SpecialHandlerFn,
IN VOID *  StartOpCodeHandle 
)

Search the drivers in the system which need to show in the front page and insert the menu to the front page.

Parameters
HiiHandleThe hii handle for the Uiapp driver.
ClassGuidThe class guid for the driver which is the target.
SpecialHandlerFnThe pointer to the specail handler function, if any.
StartOpCodeHandleThe opcode handle to save the new opcode.
Return values
EFI_SUCCESSSearch the driver success

Definition at line 357 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ ExtractDevicePathFromHandle()

CHAR16 * ExtractDevicePathFromHandle ( IN EFI_HII_HANDLE  Handle)

Extract device path for given HII handle and class guid.

Parameters
HandleThe HII handle.
Return values
NULLFail to get the device path string.
Returns
PathString Get the device path string.

Definition at line 257 of file BootMaintenanceManagerCustomizedUiSupport.c.

◆ IsRequiredDriver()

BOOLEAN IsRequiredDriver ( IN EFI_HII_HANDLE  HiiHandle,
IN EFI_GUID Guid,
OUT EFI_STRING_ID *  PromptId,
OUT EFI_STRING_ID *  HelpId,
OUT VOID *  FormsetGuid 
)

Check whether this driver need to be shown in the front page.

Parameters
HiiHandleThe hii handle for the driver.
GuidThe special guid for the driver which is the target.
PromptIdReturn the prompt string id.
HelpIdReturn the help string id.
FormsetGuidReturn the formset guid info.
Return values
EFI_SUCCESSSearch the driver success

Definition at line 291 of file BootMaintenanceManagerCustomizedUiSupport.c.

Variable Documentation

◆ gHiiDriverList

STATIC UI_HII_DRIVER_INSTANCE* gHiiDriverList

Definition at line 22 of file BootMaintenanceManagerCustomizedUiSupport.c.