From 8caa3caaed4b32d699b79c6d5aaa606b52d740e7 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Mon, 23 May 2016 14:54:46 +0800 Subject: MdeModulePkg: Make function comments and function match in UI codes Cc: Qiu Shumin Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Qiu Shumin --- .../Application/UiApp/FrontPageCustomizedUiSupport.c | 5 +---- .../Application/UiApp/FrontPageCustomizedUiSupport.h | 10 +--------- .../BootMaintenanceManagerCustomizedUiSupport.c | 13 +++---------- .../BootMaintenanceManagerCustomizedUiSupport.h | 5 +++-- 4 files changed, 8 insertions(+), 25 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c index b838222..dfb37ec 100644 --- a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c +++ b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c @@ -236,11 +236,8 @@ UiSupportLibCallbackHandler ( Create Select language menu in the front page with oneof opcode. @param[in] HiiHandle The hii handle for the Uiapp driver. - @param[in] QuestionId Question ID @param[in] StartOpCodeHandle The opcode handle to save the new opcode. - @retval EFI_SUCCESS Search the driver success - **/ VOID UiCreateLanguageMenu ( @@ -547,8 +544,8 @@ RequiredDriver ( @param HiiHandle The hii handle for the Uiapp driver. @param ClassGuid The class guid for the driver which is the target. + @param SpecialHandlerFn The pointer to the specail handler function, if any. @param StartOpCodeHandle The opcode handle to save the new opcode. - @param SpecialHandler The pointer to the specail handler function, if any. @retval EFI_SUCCESS Search the driver success diff --git a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h index ce3ecd5..9dda98a 100644 --- a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h +++ b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h @@ -21,8 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @param[in] HiiHandle The hii handle for the Uiapp driver. @param[in] StartOpCodeHandle The opcode handle to save the new opcode. - @retval EFI_SUCCESS Search the driver success - **/ VOID UiCreateContinueMenu ( @@ -36,8 +34,6 @@ UiCreateContinueMenu ( @param HiiHandle The hii handle for the Uiapp driver. @param StartOpCodeHandle The opcode handle to save the new opcode. - @retval EFI_SUCCESS Search the driver success - **/ VOID UiCreateEmptyLine ( @@ -51,8 +47,6 @@ UiCreateEmptyLine ( @param[in] HiiHandle The hii handle for the Uiapp driver. @param[in] StartOpCodeHandle The opcode handle to save the new opcode. - @retval EFI_SUCCESS Search the driver success - **/ VOID UiCreateLanguageMenu ( @@ -66,8 +60,6 @@ UiCreateLanguageMenu ( @param[in] HiiHandle The hii handle for the Uiapp driver. @param[in] StartOpCodeHandle The opcode handle to save the new opcode. - @retval EFI_SUCCESS Search the driver success - **/ VOID UiCreateResetMenu ( @@ -99,8 +91,8 @@ BOOLEAN @param HiiHandle The hii handle for the Uiapp driver. @param ClassGuid The class guid for the driver which is the target. + @param SpecialHandlerFn The pointer to the specail handler function, if any. @param StartOpCodeHandle The opcode handle to save the new opcode. - @param SpecialHandler The pointer to the specail handler function, if any. @retval EFI_SUCCESS Search the driver success diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c index 5156975..b25bc67 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c @@ -32,7 +32,8 @@ STATIC UI_HII_DRIVER_INSTANCE *gHiiDriverList; /** Create the dynamic item to allow user to set the "BootNext" vaule. - @param CallbackData The BMM context data. + @param[in] HiiHandle The hii handle for the Uiapp driver. + @param[in] StartOpCodeHandle The opcode handle to save the new opcode. **/ VOID @@ -120,10 +121,6 @@ BmmCreateBootNextMenu( @param[in] HiiHandle The hii handle for the Uiapp driver. @param[in] StartOpCodeHandle The opcode handle to save the new opcode. - @param[in] PromptId The Prompt string id. - @param[in] HelpId The help string id. - @param[in] FormId The Form id for the dest form. - @param[in] QuestionId The question id for this goto question. **/ VOID @@ -222,10 +219,6 @@ BmmCreateComOptionMenu ( @param[in] HiiHandle The hii handle for the Uiapp driver. @param[in] StartOpCodeHandle The opcode handle to save the new opcode. - @param[in] PromptId The Prompt string id. - @param[in] HelpId The help string id. - @param[in] FormId The Form id for the dest form. - @param[in] QuestionId The question id for this goto question. **/ VOID @@ -363,8 +356,8 @@ IsRequiredDriver ( @param HiiHandle The hii handle for the Uiapp driver. @param ClassGuid The class guid for the driver which is the target. + @param SpecialHandlerFn The pointer to the specail handler function, if any. @param StartOpCodeHandle The opcode handle to save the new opcode. - @param SpecialHandler The pointer to the specail handler function, if any. @retval EFI_SUCCESS Search the driver success diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.h b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.h index 2c69888..9f04bf5 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.h +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.h @@ -31,7 +31,8 @@ BmmCreateTimeOutMenu ( /** Create the dynamic item to allow user to set the "BootNext" vaule. - @param CallbackData The BMM context data. + @param[in] HiiHandle The hii handle for the Uiapp driver. + @param[in] StartOpCodeHandle The opcode handle to save the new opcode. **/ VOID @@ -129,8 +130,8 @@ EFI_STATUS @param HiiHandle The hii handle for the Uiapp driver. @param ClassGuid The class guid for the driver which is the target. + @param SpecialHandlerFn The pointer to the specail handler function, if any. @param StartOpCodeHandle The opcode handle to save the new opcode. - @param SpecialHandler The pointer to the specail handler function, if any. @retval EFI_SUCCESS Search the driver success -- cgit v1.1