]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BootManagerUiLib/BootManagerVfr.Vfr
MdeModulePkg:Rename BootManagerLib to BootManagerUiLib
[mirror_edk2.git] / MdeModulePkg / Library / BootManagerUiLib / BootManagerVfr.Vfr
diff --git a/MdeModulePkg/Library/BootManagerUiLib/BootManagerVfr.Vfr b/MdeModulePkg/Library/BootManagerUiLib/BootManagerVfr.Vfr
new file mode 100644 (file)
index 0000000..14c1f8f
--- /dev/null
@@ -0,0 +1,57 @@
+///** @file\r
+//\r
+//  Boot Manager formset.\r
+//\r
+//  Copyright (c) 2004 - 2015, 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
+//  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
+#define FORMSET_GUID  { 0x847bc3fe, 0xb974, 0x446d, 0x94, 0x49, 0x5a, 0xd5, 0x41, 0x2e, 0x99, 0x3b }\r
+\r
+#define BOOT_MANAGER_FORM_ID     0x1000\r
+\r
+#define LABEL_BOOT_OPTION        0x00\r
+#define LABEL_BOOT_OPTION_END    0x01\r
+\r
+formset\r
+  guid      = FORMSET_GUID,\r
+  title     = STRING_TOKEN(STR_BM_BANNER),\r
+  help      = STRING_TOKEN(STR_BOOT_MANAGER_HELP),\r
+  classguid = gEfiIfrFrontPageGuid,\r
+\r
+  form formid = BOOT_MANAGER_FORM_ID,\r
+       title  = STRING_TOKEN(STR_BM_BANNER);\r
+\r
+    subtitle text = STRING_TOKEN(STR_LAST_STRING);\r
+    subtitle text = STRING_TOKEN(STR_BOOT_OPTION_BANNER);\r
+    subtitle text = STRING_TOKEN(STR_LAST_STRING);\r
+\r
+    //\r
+    //Add this invisable text in order to indicate enter Boot Manager form.\r
+    //\r
+    suppressif TRUE;\r
+          text\r
+              help  = STRING_TOKEN(STR_LAST_STRING ),\r
+              text  = STRING_TOKEN(STR_LAST_STRING ),\r
+              flags = INTERACTIVE,\r
+              key   = 0x1212;\r
+     endif;\r
+\r
+    //\r
+    // This is where we will dynamically add choices for the Boot Manager\r
+    //\r
+    label LABEL_BOOT_OPTION;\r
+    label LABEL_BOOT_OPTION_END;\r
+\r
+    subtitle text = STRING_TOKEN(STR_LAST_STRING);\r
+    subtitle text = STRING_TOKEN(STR_HELP_FOOTER);\r
+\r
+  endform;\r
+\r
+endformset;\r