///** @file\r
// Boot Maintenance Utility Formset\r
//\r
-// Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+// Copyright (c) 2004 - 2018, 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
// http://opensource.org/licenses/bsd-license.php\r
-// \r
+//\r
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-// \r
+//\r
//**/\r
\r
#include "FormGuid.h"\r
\r
form formid = FORM_MAIN_ID,\r
title = STRING_TOKEN(STR_FORM_MAIN_TITLE);\r
-\r
- goto FORM_BOOT_SETUP_ID,\r
- prompt = STRING_TOKEN(STR_FORM_BOOT_SETUP_TITLE),\r
- help = STRING_TOKEN(STR_FORM_BOOT_SETUP_HELP),\r
- flags = INTERACTIVE,\r
- key = FORM_BOOT_SETUP_ID;\r
-\r
- subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
-\r
- goto FORM_DRIVER_SETUP_ID,\r
- prompt = STRING_TOKEN(STR_FORM_DRIVER_SETUP_TITLE),\r
- help = STRING_TOKEN(STR_FORM_DRIVER_SETUP_HELP),\r
- flags = INTERACTIVE,\r
- key = FORM_DRIVER_SETUP_ID;\r
-\r
- subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
-\r
- goto FORM_CON_MAIN_ID,\r
- prompt = STRING_TOKEN(STR_FORM_CON_MAIN_TITLE),\r
- help = STRING_TOKEN(STR_FORM_CON_MAIN_HELP),\r
- flags = INTERACTIVE,\r
- key = FORM_CON_MAIN_ID;\r
-\r
- subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
-\r
- goto FORM_MAIN_ID,\r
- prompt = STRING_TOKEN(STR_BOOT_FROM_FILE),\r
- help = STRING_TOKEN(STR_BOOT_FROM_FILE_HELP),\r
- flags = INTERACTIVE,\r
- key = KEY_VALUE_BOOT_FROM_FILE;\r
-\r
- subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
-\r
-// label FORM_MAIN_ID;\r
-\r
- goto FORM_BOOT_NEXT_ID,\r
- prompt = STRING_TOKEN(STR_FORM_BOOT_NEXT_TITLE),\r
- help = STRING_TOKEN(STR_FORM_BOOT_NEXT_HELP),\r
- flags = INTERACTIVE,\r
- key = FORM_BOOT_NEXT_ID;\r
-\r
- goto FORM_TIME_OUT_ID,\r
- prompt = STRING_TOKEN(STR_FORM_TIME_OUT_TITLE),\r
- help = STRING_TOKEN(STR_FORM_TIME_OUT_HELP),\r
- flags = INTERACTIVE,\r
- key = FORM_TIME_OUT_ID;\r
-\r
- subtitle text = STRING_TOKEN(STR_NULL_STRING);\r
-\r
- text\r
- help = STRING_TOKEN(STR_RESET),\r
- text = STRING_TOKEN(STR_RESET),\r
- flags = INTERACTIVE,\r
- key = FORM_RESET;\r
- \r
- label LABEL_BMM_PLATFORM_INFORMATION;\r
+ //\r
+ // Add this invisible text in order to indicate enter Boot Maintenance Manager form.\r
+ // To trigger the form open action.\r
+ //\r
+ suppressif TRUE;\r
+ text\r
+ help = STRING_TOKEN(STR_NONE),\r
+ text = STRING_TOKEN(STR_NONE),\r
+ flags = INTERACTIVE,\r
+ key = KEY_VALUE_TRIGGER_FORM_OPEN_ACTION;\r
+ endif;\r
+\r
+ label LABEL_FORM_MAIN_START;\r
//\r
- // This is where we will dynamically add a Action type op-code to show \r
+ // This is where we will dynamically add a Action type op-code to show\r
// the platform information.\r
//\r
- \r
- //\r
- // This is where we will dynamically add a Action type op-code to show \r
- // the advanced menu.\r
- //\r
- \r
- //\r
- // This is where we will dynamically add a Action type op-code to show \r
- // the intel test menu.\r
- //\r
- label LABEL_END; \r
+ label LABEL_FORM_MAIN_END;\r
+\r
endform;\r
\r
form formid = FORM_BOOT_SETUP_ID,\r
text = STRING_TOKEN(STR_NO_SAVE_AND_EXIT),\r
flags = INTERACTIVE,\r
key = KEY_VALUE_NO_SAVE_AND_EXIT_BOOT;\r
- \r
+\r
endform;\r
\r
form formid = FORM_BOOT_DEL_ID,\r
\r
endform;\r
\r
- form formid = FORM_BOOT_NEXT_ID,\r
- title = STRING_TOKEN(STR_FORM_BOOT_NEXT_TITLE);\r
-\r
- label FORM_BOOT_NEXT_ID;\r
- label LABEL_END;\r
- endform;\r
-\r
- form formid = FORM_TIME_OUT_ID,\r
- title = STRING_TOKEN(STR_FORM_TIME_OUT_TITLE);\r
-\r
- label FORM_TIME_OUT_ID;\r
- label LABEL_END;\r
- endform;\r
-\r
- form formid = FORM_MEMORY_CHECK_ID,\r
- title = STRING_TOKEN(STR_FORM_MEMORY_CHECK_TITLE);\r
-\r
- label FORM_MEMORY_CHECK_ID;\r
- label LABEL_END;\r
- endform;\r
-\r
- form formid = FORM_UEFI_OPTIMIZED_BOOT_ID,\r
- title = STRING_TOKEN(STR_FORM_UEFI_OPTIMIZED_BOOT_TITLE);\r
-\r
- label FORM_UEFI_OPTIMIZED_BOOT_ID;\r
- label LABEL_END;\r
- endform;\r
-\r
form formid = FORM_DRV_ADD_ID,\r
title = STRING_TOKEN(STR_FORM_DRV_ADD_TITLE);\r
\r
\r
form formid = FORM_DRV_ADD_FILE_ID,\r
title = STRING_TOKEN(STR_FORM_DRV_ADD_DESC_TITLE);\r
- \r
+\r
label FORM_DRV_ADD_FILE_ID;\r
label LABEL_END;\r
\r