#include <Protocol/HiiConfigAccess.h>\r
#include <Library/BaseLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
+#include "FrontPage.h"\r
#include "FrontPageCustomizedUiSupport.h"\r
\r
+extern FRONT_PAGE_CALLBACK_DATA gFrontPagePrivate;\r
+\r
/**\r
Customize menus in the page.\r
\r
IN OUT EFI_STRING *BannerStr\r
)\r
{\r
+ if ((LineIndex == 5) && LeftOrRight) {\r
+ // Update STR_CUSTOMIZE_BANNER_LINE5_LEFT\r
+ if (PcdGetBool(PcdTestKeyUsed)) {\r
+ if (BannerStr != NULL) {\r
+ FreePool(*BannerStr);\r
+ }\r
+ *BannerStr = HiiGetString(gFrontPagePrivate.HiiHandle, STRING_TOKEN(STR_TEST_KEY_USED), NULL);\r
+ }\r
+ }\r
+ return;\r
}\r
//\r
// String definitions for BdsPlatform formset.\r
//\r
-// Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+// Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>\r
// This program and the accompanying materials\r
// are licensed and made available under the terms and conditions of the BSD License\r
// which accompanies this distribution. The full text of the license may be found at\r
#language fr-FR ""\r
#string STR_CUSTOMIZE_BANNER_LINE5_RIGHT #language en-US ""\r
#language fr-FR ""\r
+#string STR_TEST_KEY_USED #language en-US "WARNING: Test key detected."\r
+ #language fr-FR "WARNING: Test key detected."\r
#string STR_NULL_STRING #language en-US " "\r
#language fr-FR " "\r
## @file\r
# UiApp module is driver for BDS phase.\r
#\r
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution ## CONSUMES\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution ## CONSUMES\r
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed ## CONSUMES\r
\r
[UserExtensions.TianoCore."ExtraFiles"]\r
UiAppExtra.uni\r