summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-05-23 14:54:46 +0800
committerStar Zeng <star.zeng@intel.com>2016-05-25 16:35:36 +0800
commit8caa3caaed4b32d699b79c6d5aaa606b52d740e7 (patch)
treea3e8e177da0dcdec2cb584158515d0d46d37da34
parent4b7345a7dd71bdc99a824facf55066838ec240da (diff)
downloadedk2-8caa3caaed4b32d699b79c6d5aaa606b52d740e7.zip
edk2-8caa3caaed4b32d699b79c6d5aaa606b52d740e7.tar.gz
edk2-8caa3caaed4b32d699b79c6d5aaa606b52d740e7.tar.bz2
MdeModulePkg: Make function comments and function match in UI codes
Cc: Qiu Shumin <shumin.qiu@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
-rw-r--r--MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c5
-rw-r--r--MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h10
-rw-r--r--MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c13
-rw-r--r--MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.h5
4 files changed, 8 insertions, 25 deletions
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