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

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

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

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

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

     14 //                                                                                  

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

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

     20 //                                                                                  

     22 //
     23 //
     24 //
     25 // Module Name:
     26 //
     27 //   DPTF.vfr
     28 //
     29 // Abstract:
     30 //
     31 //   Driver Setup formset.
     32 //
     33 // Revision History:
     34 //   ------------------------------------------------------------------------------
     35 //   Rev   Date<MM/DD/YYYY>    Name    Description
     36 //   ------------------------------------------------------------------------------
     37 
     38 // --*/
     39 
     40 form formid = THERMAL_FORM_ID,
     41 
     42   title  = STRING_TOKEN(STR_THERMAL_TITLE);
     43 
     44   subtitle text = STRING_TOKEN(STR_THERMAL_CONFIGURATION);
     45   oneof   varid   = Setup.CriticalThermalTripPoint,
     46     prompt      = STRING_TOKEN(STR_ACPI_CRITICAL_THERMAL_TRIP_POINT),
     47     help        = STRING_TOKEN(STR_ACPI_CRITICAL_THERMAL_TRIP_POINT_HELP),
     48     option text = STRING_TOKEN (STR_85_C), value = 85, flags=0 | RESET_REQUIRED;     
     49     option text = STRING_TOKEN (STR_87_C), value = 87, flags=0 | RESET_REQUIRED; 
     50     option text = STRING_TOKEN (STR_90_C), value = 90, flags=0 | RESET_REQUIRED;
     51     option text = STRING_TOKEN (STR_105_C), value = 105, flags=0 | RESET_REQUIRED;
     52     option text = STRING_TOKEN (STR_110_C), value = 110, flags=0 | RESET_REQUIRED;
     53     option text = STRING_TOKEN (STR_200_C), value = 200, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
     54   endoneof; 
     55   oneof   varid   = Setup.PassiveThermalTripPoint,
     56     prompt      = STRING_TOKEN (STR_ACPI_PASSIVE_THERMAL_TRIP_POINT),
     57     help        = STRING_TOKEN (STR_ACPI_PASSIVE_THERMAL_TRIP_POINT_HELP),
     58     option text = STRING_TOKEN (STR_85_C), value = 85, flags=0 | RESET_REQUIRED;
     59     option text = STRING_TOKEN (STR_87_C), value = 87, flags=0 | RESET_REQUIRED;   
     60     option text = STRING_TOKEN (STR_90_C), value = 90, flags=0 | RESET_REQUIRED;
     61     option text = STRING_TOKEN (STR_100_C), value = 100, flags=0 | RESET_REQUIRED;
     62     option text = STRING_TOKEN (STR_105_C), value = 105, flags=0 | RESET_REQUIRED;
     63     option text = STRING_TOKEN (STR_180_C), value = 180, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
     64   endoneof;
     65 
     66   suppressif TRUE;
     67     numeric varid = Setup.PassiveTc1Value,
     68       prompt  = STRING_TOKEN (STR_ACPI_PASSIVE_TC1_VALUE),
     69       help    = STRING_TOKEN (STR_ACPI_PASSIVE_TC1_VALUE_HELP),
     70       flags   = 0 | RESET_REQUIRED,
     71       minimum = 1,
     72       maximum = 16,
     73       step    = 1,
     74       default = 1,
     75     endnumeric;
     76 
     77     numeric varid = Setup.PassiveTc2Value,
     78       prompt  = STRING_TOKEN (STR_ACPI_PASSIVE_TC2_VALUE),
     79       help    = STRING_TOKEN (STR_ACPI_PASSIVE_TC2_VALUE_HELP),
     80       flags   = 0 | RESET_REQUIRED,
     81       minimum = 1,
     82       maximum = 16,
     83       step    = 1,
     84       default = 5,
     85     endnumeric;
     86 
     87     numeric varid = Setup.PassiveTspValue,
     88       prompt  = STRING_TOKEN (STR_ACPI_PASSIVE_TSP_VALUE),
     89       help    = STRING_TOKEN (STR_ACPI_PASSIVE_TSP_VALUE_HELP),
     90       flags   = 0 | RESET_REQUIRED,
     91       minimum = 2,
     92       maximum = 50,
     93       step    = 2,
     94       default = 50,
     95     endnumeric;
     96   endif;
     97 
     98   subtitle text = STRING_TOKEN(STR_NULL_STRING);
     99 
    100   oneof varid    = Setup.DisableActiveTripPoints,
    101         prompt      = STRING_TOKEN(STR_DATP_PROMPT),
    102         help        = STRING_TOKEN(STR_DATP_HELP),
    103         option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    104         option text = STRING_TOKEN(STR_ENABLED),  value = 1, flags = RESET_REQUIRED;
    105   endoneof;
    106 
    107   suppressif TRUE;  
    108   oneof varid     = Setup.EnableDigitalThermalSensor,
    109     prompt      = STRING_TOKEN(STR_DTS_PROMPT),
    110     help        = STRING_TOKEN(STR_DTS_PROMPT_HELP),
    111     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    112     option text = STRING_TOKEN(STR_ENABLE),  value = 1, flags = MANUFACTURING |RESET_REQUIRED |DEFAULT;
    113   endoneof;
    114   endif;
    115 
    116   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    117 
    118 
    119 
    120 endform;
    121