Home | History | Annotate | Download | only in PlatformSetupDxe
      1 //
      2 //
      3 //
      4 // Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
      5 //                                                                                  

      7 // This program and the accompanying materials are licensed and made available under

      9 // the terms and conditions of the BSD License that accompanies this distribution.  

     11 // The full text of the license may be found at                                     

     13 // http://opensource.org/licenses/bsd-license.php.                                  

     15 //                                                                                  

     17 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,            

     19 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.    

     21 //                                                                                  

     23 //
     24 //
     25 #include "Configuration.h"
     26 #include "PlatformSetupDxeStrDefs.h"
     27 #include "Guid/SetupVariable.h"
     28 
     29 formset
     30   guid     = SYSTEM_CONFIGURATION_GUID,
     31   title    = STRING_TOKEN(STR_SYSTEM_SETUP_TITLE),
     32   help     = STRING_TOKEN(STR_SYSTEM_SETUP_HELP),
     33   class    = 1,
     34   subclass = 0,
     35 
     36 
     37   varstore SYSTEM_CONFIGURATION, name = Setup, guid = SYSTEM_CONFIGURATION_GUID;
     38   form formid = ROOT_FORM_ID,
     39     title    = STRING_TOKEN(STR_SYSTEM_SETUP_TITLE);
     40 
     41     //
     42     // Jump to  2)Main Form
     43     //
     44     goto ROOT_MAIN_FORM_ID,
     45       prompt = STRING_TOKEN(STR_MAIN_TITLE),
     46       help   = STRING_TOKEN(STR_MAIN_HELP);
     47 
     48     //
     49     // Jump to  3)Uncore Configuration Form
     50     //
     51     goto UNCORE_FORM_ID,
     52       prompt = STRING_TOKEN(STR_UNCORE_CONFIGURATION_TITLE),
     53       help   = STRING_TOKEN(STR_UNCORE_CONFIGURATION_HELP);
     54 
     55     //
     56     // Jump to  4)South Cluster  Configuration Form
     57     //
     58     goto SOUTH_CLUSTER_FORM_ID,
     59       prompt = STRING_TOKEN(STR_SOUTH_CLUSTER_TITLE),
     60       help   = STRING_TOKEN(STR_SOUTH_CLUSTER_HELP);
     61 
     62     // Jump to  5)Boot Form
     63     //
     64     goto BOOT_CONFIGURATION_FORM_ID,
     65       prompt = STRING_TOKEN(STR_BOOT_CONFIGURATION_TITLE),
     66       help   = STRING_TOKEN(STR_BOOT_CONFIGURATION_HELP);
     67 
     68     //
     69     // Jump to  6)Security Configuration Form
     70     //
     71     goto SECURITY_CONFIGURATION_FORM_ID,
     72       prompt = STRING_TOKEN(STR_SECURITY_CONFIGURATION_TITLE),
     73       help   = STRING_TOKEN(STR_SECURITY_CONFIGURATION_HELP);
     74 
     75     //
     76     // Jump to  7)Thermal Form
     77     //
     78     goto THERMAL_FORM_ID,
     79       prompt = STRING_TOKEN(STR_THERMAL_TITLE),
     80       help   = STRING_TOKEN(STR_THERMAL_HELP);
     81 
     82     //
     83     // Jump to 8) System Component Form
     84     goto SYSTEM_COMPONENT_FORM_ID,
     85       prompt = STRING_TOKEN(STR_SYSTEM_COMPONENT_TITLE),
     86       help   = STRING_TOKEN(STR_SYSTEM_COMPONENT_HELP);
     87 
     88     //
     89     // Jump to  10)Debug Configuration Form
     90     //
     91 #if (BYTI_PF_ENABLE == 0)
     92     goto DEBUG_CONFIGURATION_FORM_ID,
     93       prompt = STRING_TOKEN(STR_DEBUG_CONFIGURATION_TITLE),
     94       help   = STRING_TOKEN(STR_DEBUG_CONFIGURATION_HELP);
     95 #endif
     96 
     97     subtitle text = STRING_TOKEN(STR_NULL_STRING);
     98     //
     99     // Commit change and exit
    100     //
    101     text
    102       help   = STRING_TOKEN(STR_COMMIT_CHANGE_AND_EXIT_HELP),
    103       text   = STRING_TOKEN(STR_COMMIT_CHANGE_AND_EXIT_PROMPT),
    104       text   = STRING_TOKEN(STR_COMMIT_CHANGE_AND_EXIT_PROMPT),
    105       flags  = INTERACTIVE,
    106       key    = 0xF001;
    107 
    108     //
    109     // Discard change and exit
    110     //
    111     text
    112       help   = STRING_TOKEN(STR_DISCARD_CHANGE_AND_EXIT_HELP),
    113       text   = STRING_TOKEN(STR_DISCARD_CHANGE_AND_EXIT_PROMPT),
    114       text   = STRING_TOKEN(STR_DISCARD_CHANGE_AND_EXIT_PROMPT),
    115       flags  = INTERACTIVE,
    116       key    = 0xF002;
    117 
    118     //
    119     // Load default and exit
    120     //
    121     text
    122       help   = STRING_TOKEN(STR_LOAD_DEFAULT_AND_EXIT_HELP),
    123       text   = STRING_TOKEN(STR_LOAD_DEFAULT_AND_EXIT_PROMPT),
    124       text   = STRING_TOKEN(STR_LOAD_DEFAULT_AND_EXIT_PROMPT),
    125       flags  = INTERACTIVE,
    126       key    = 0xF003;
    127   endform;
    128 
    129   #include "Main.vfi"
    130   #include "UnCore.vfi"
    131   #include "SouthClusterConfig.vfi"
    132   #include "Boot.vfi"
    133   #include "Security.vfi"
    134   #include "Thermal.vfi"
    135   #include "SystemComponent.vfi"
    136   #include "DebugConfig.vfi"
    137 endformset;
    138