]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformSetupDxe/Security.vfi
Vlv2DeviceRefCodePkg&Vlv2TbltDevicePkg:Convert Mix to DOS.
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformSetupDxe / Security.vfi
1 //
2 //
3 // Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4 //
5 // This program and the accompanying materials are licensed and made available under
6 // the terms and conditions of the BSD License that accompanies this distribution.
7 // The full text of the license may be found at
8 // http://opensource.org/licenses/bsd-license.php.
9 //
10 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 //
13 //
14 //
15 //
16 // Module Name:
17 //
18 // Security.vfi
19 //
20 // Abstract:
21 //
22 // Driver Setup formset.
23 //
24 // --*/
25
26 //
27 // Security Configuration Form
28 //
29
30
31 form formid = SECURITY_CONFIGURATION_FORM_ID,
32 title = STRING_TOKEN(STR_SECURITY_CONFIGURATION_TITLE);
33
34
35 subtitle text = STRING_TOKEN(STR_NULL_STRING);
36 //
37 //TPM related
38 //
39 subtitle text = STRING_TOKEN(STR_TPM_CONFIGURATION_PROMPT);
40 grayoutif ideqval Setup.ETpm== 0x1;
41 oneof varid = Setup.fTPM,
42 prompt = STRING_TOKEN(STR_PTT_PROMPT),
43 help = STRING_TOKEN(STR_PTT_HELP),
44 option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
45 option text = STRING_TOKEN(STR_DISABLE), value= 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
46 endoneof;
47 endif;
48
49 grayoutif ideqval Setup.fTPM == 0x1;
50 oneof varid = Setup.ETpm,
51 prompt = STRING_TOKEN(STR_TPM_PROMPT),
52 help = STRING_TOKEN(STR_TPM_HELP),
53 option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
54 option text = STRING_TOKEN(STR_DISABLE), value= 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
55 endoneof;
56 endif;
57
58 suppressif ideqval Setup.fTPM == 0;
59 oneof varid = Setup.MeasuredBootEnable,
60 prompt = STRING_TOKEN(STR_MEASURED_BOOT_ENABLE_PROMPT),
61 help = STRING_TOKEN(STR_MEASURED_BOOT_ENABLE_HELP),
62 option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
63 option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
64 endoneof;
65 endif;
66
67 subtitle text = STRING_TOKEN(STR_NULL_STRING);
68
69 subtitle text = STRING_TOKEN(STR_PASSWORD_CONFIGURATION_SUBTITLE);
70
71 password varid = Setup.AdminPassword,
72 prompt = STRING_TOKEN(STR_ADMIN_PASSWORD),
73 help = STRING_TOKEN(STR_ADMIN_PASSWORD_HELP),
74 flags = 0,
75 minsize = 0,
76 maxsize = PASSWORD_MAX_SIZE,
77 encoding = 1,
78 endpassword;
79
80 password varid = Setup.UserPassword,
81 prompt = STRING_TOKEN(STR_USER_PASSWORD),
82 help = STRING_TOKEN(STR_USER_PASSWORD_HELP),
83 flags = 0,
84 minsize = 0,
85 maxsize = PASSWORD_MAX_SIZE,
86 encoding = 1,
87 endpassword;
88 suppressif TRUE;
89 password varid = Setup.AdminPassword,
90 prompt = STRING_TOKEN(STR_CHANGE_ADMIN_PASSWORD),
91 help = STRING_TOKEN(STR_CHANGE_ADMIN_PASSWORD_HELP),
92 flags = 0,
93 minsize = 0,
94 maxsize = PASSWORD_MAX_SIZE,
95 encoding = 1,
96 endpassword;
97
98 password varid = Setup.UserPassword,
99 prompt = STRING_TOKEN(STR_CHANGE_USER_PASSWORD),
100 help = STRING_TOKEN(STR_CHANGE_USER_PASSWORD_HELP),
101 flags = 0,
102 minsize = 0,
103 maxsize = PASSWORD_MAX_SIZE,
104 encoding = 1,
105 endpassword;
106 endif;
107
108 endform;
109