summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c')
-rw-r--r--MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c36
1 files changed, 19 insertions, 17 deletions
diff --git a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c
index e6d0be5..f2458ec 100644
--- a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c
+++ b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c
@@ -37,7 +37,7 @@ UiCustomizeFrontPage (
//
// Create empty line.
//
- UiCreateEmptyLine(HiiHandle, StartOpCodeHandle);
+ UiCreateEmptyLine (HiiHandle, StartOpCodeHandle);
//
// Find third party drivers which need to be shown in the front page.
@@ -47,17 +47,17 @@ UiCustomizeFrontPage (
//
// Create empty line.
//
- UiCreateEmptyLine(HiiHandle, StartOpCodeHandle);
+ UiCreateEmptyLine (HiiHandle, StartOpCodeHandle);
//
// Create "Continue" menu.
//
- UiCreateContinueMenu(HiiHandle, StartOpCodeHandle);
+ UiCreateContinueMenu (HiiHandle, StartOpCodeHandle);
//
// Create reset menu.
//
- UiCreateResetMenu(HiiHandle, StartOpCodeHandle);
+ UiCreateResetMenu (HiiHandle, StartOpCodeHandle);
}
/**
@@ -80,15 +80,15 @@ UiCustomizeFrontPage (
**/
EFI_STATUS
UiFrontPageCallbackHandler (
- IN EFI_HII_HANDLE HiiHandle,
- IN EFI_BROWSER_ACTION Action,
- IN EFI_QUESTION_ID QuestionId,
- IN UINT8 Type,
- IN EFI_IFR_TYPE_VALUE *Value,
- OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
+ IN EFI_HII_HANDLE HiiHandle,
+ IN EFI_BROWSER_ACTION Action,
+ IN EFI_QUESTION_ID QuestionId,
+ IN UINT8 Type,
+ IN EFI_IFR_TYPE_VALUE *Value,
+ OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
)
{
- EFI_STATUS Status;
+ EFI_STATUS Status;
if (UiSupportLibCallbackHandler (HiiHandle, Action, QuestionId, Type, Value, ActionRequest, &Status)) {
return Status;
@@ -121,19 +121,21 @@ UiFrontPageCallbackHandler (
**/
VOID
UiCustomizeFrontPageBanner (
- IN UINTN LineIndex,
- IN BOOLEAN LeftOrRight,
- IN OUT EFI_STRING *BannerStr
+ IN UINTN LineIndex,
+ IN BOOLEAN LeftOrRight,
+ IN OUT EFI_STRING *BannerStr
)
{
if ((LineIndex == 5) && LeftOrRight) {
// Update STR_CUSTOMIZE_BANNER_LINE5_LEFT
- if (PcdGetBool(PcdTestKeyUsed)) {
+ if (PcdGetBool (PcdTestKeyUsed)) {
if (BannerStr != NULL) {
- FreePool(*BannerStr);
+ FreePool (*BannerStr);
}
- *BannerStr = HiiGetString(gFrontPagePrivate.HiiHandle, STRING_TOKEN(STR_TEST_KEY_USED), NULL);
+
+ *BannerStr = HiiGetString (gFrontPagePrivate.HiiHandle, STRING_TOKEN (STR_TEST_KEY_USED), NULL);
}
}
+
return;
}