Home | History | Annotate | Download | only in BootManagerLib
      1 ///** @file
      2 //
      3 //  Boot Manager formset.
      4 //
      5 //  Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
      6 //  This program and the accompanying materials
      7 //  are licensed and made available under the terms and conditions of the BSD License
      8 //  which accompanies this distribution.  The full text of the license may be found at
      9 //  http://opensource.org/licenses/bsd-license.php
     10 //
     11 //  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     12 //  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     13 //
     14 //**/
     15 #define FORMSET_GUID  { 0x847bc3fe, 0xb974, 0x446d, 0x94, 0x49, 0x5a, 0xd5, 0x41, 0x2e, 0x99, 0x3b }
     16 
     17 #define BOOT_MANAGER_FORM_ID     0x1000
     18 
     19 #define LABEL_BOOT_OPTION        0x00
     20 #define LABEL_BOOT_OPTION_END    0x01
     21 
     22 formset
     23   guid      = FORMSET_GUID,
     24   title     = STRING_TOKEN(STR_BM_BANNER),
     25   help      = STRING_TOKEN(STR_BOOT_MANAGER_HELP),
     26   classguid = gEfiIfrFrontPageGuid,
     27 
     28   form formid = BOOT_MANAGER_FORM_ID,
     29        title  = STRING_TOKEN(STR_BM_BANNER);
     30 
     31     subtitle text = STRING_TOKEN(STR_LAST_STRING);
     32     subtitle text = STRING_TOKEN(STR_BOOT_OPTION_BANNER);
     33     subtitle text = STRING_TOKEN(STR_LAST_STRING);
     34 
     35     //
     36     //Add this invisable text in order to indicate enter Boot Manager form.
     37     //
     38     suppressif TRUE;
     39           text
     40               help  = STRING_TOKEN(STR_LAST_STRING ),
     41               text  = STRING_TOKEN(STR_LAST_STRING ),
     42               flags = INTERACTIVE,
     43               key   = 0x1212;
     44      endif;
     45 
     46     //
     47     // This is where we will dynamically add choices for the Boot Manager
     48     //
     49     label LABEL_BOOT_OPTION;
     50     label LABEL_BOOT_OPTION_END;
     51 
     52     subtitle text = STRING_TOKEN(STR_LAST_STRING);
     53     subtitle text = STRING_TOKEN(STR_HELP_FOOTER);
     54 
     55   endform;
     56 
     57 endformset;
     58