2 This library class defines a set of interfaces to be used by customize Ui module
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __BOOT_MAINTENANCE_MANAGER_UI_LIB_H__
10 #define __BOOT_MAINTENANCE_MANAGER_UI_LIB_H__
13 Create Time Out Menu in the page.
15 @param[in] HiiHandle The hii handle for the Uiapp driver.
16 @param[in] StartOpCodeHandle The opcode handle to save the new opcode.
20 BmmCreateTimeOutMenu (
21 IN EFI_HII_HANDLE HiiHandle
,
22 IN VOID
*StartOpCodeHandle
26 Create the dynamic item to allow user to set the "BootNext" vaule.
28 @param[in] HiiHandle The hii handle for the Uiapp driver.
29 @param[in] StartOpCodeHandle The opcode handle to save the new opcode.
33 BmmCreateBootNextMenu(
34 IN EFI_HII_HANDLE HiiHandle
,
35 IN VOID
*StartOpCodeHandle
39 Create Boot Option menu in the page.
41 @param[in] HiiHandle The hii handle for the Uiapp driver.
42 @param[in] StartOpCodeHandle The opcode handle to save the new opcode.
46 BmmCreateBootOptionMenu (
47 IN EFI_HII_HANDLE HiiHandle
,
48 IN VOID
*StartOpCodeHandle
52 Create Driver Option menu in the page.
54 @param[in] HiiHandle The hii handle for the Uiapp driver.
55 @param[in] StartOpCodeHandle The opcode handle to save the new opcode.
59 BmmCreateDriverOptionMenu (
60 IN EFI_HII_HANDLE HiiHandle
,
61 IN VOID
*StartOpCodeHandle
65 Create Com Option menu in the page.
67 @param[in] HiiHandle The hii handle for the Uiapp driver.
68 @param[in] StartOpCodeHandle The opcode handle to save the new opcode.
72 BmmCreateComOptionMenu (
73 IN EFI_HII_HANDLE HiiHandle
,
74 IN VOID
*StartOpCodeHandle
78 Create Com Option menu in the page.
80 @param[in] HiiHandle The hii handle for the Uiapp driver.
81 @param[in] StartOpCodeHandle The opcode handle to save the new opcode.
85 BmmCreateBootFromFileMenu (
86 IN EFI_HII_HANDLE HiiHandle
,
87 IN VOID
*StartOpCodeHandle
91 Create empty line menu in the front page.
93 @param HiiHandle The hii handle for the Uiapp driver.
94 @param StartOpCodeHandle The opcode handle to save the new opcode.
99 IN EFI_HII_HANDLE HiiHandle
,
100 IN VOID
*StartOpCodeHandle
104 Rename the driver name if necessary.
106 @param DriverName Input the driver name.
107 @param NewDriverName Return the new driver name.
108 @param EmptyLineAfter Whether need to insert empty line.
110 @retval New driver name if compared, else NULL.
115 (EFIAPI
*DRIVER_SPECIAL_HANDLER
)(
116 IN CHAR16
*DriverName
,
117 OUT CHAR16
**NewName
,
118 OUT BOOLEAN
*EmptyLineAfter
122 Search the drivers in the system which need to show in the front page
123 and insert the menu to the front page.
125 @param HiiHandle The hii handle for the Uiapp driver.
126 @param ClassGuid The class guid for the driver which is the target.
127 @param SpecialHandlerFn The pointer to the specail handler function, if any.
128 @param StartOpCodeHandle The opcode handle to save the new opcode.
130 @retval EFI_SUCCESS Search the driver success
134 BmmListThirdPartyDrivers (
135 IN EFI_HII_HANDLE HiiHandle
,
136 IN EFI_GUID
*ClassGuid
,
137 IN DRIVER_SPECIAL_HANDLER SpecialHandlerFn
,
138 IN VOID
*StartOpCodeHandle