Security.vfi 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //
  2. //
  3. // Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
  4. //
  5. // SPDX-License-Identifier: BSD-2-Clause-Patent
  6. //
  7. //
  8. //
  9. //
  10. // Module Name:
  11. //
  12. // Security.vfi
  13. //
  14. // Abstract:
  15. //
  16. // Driver Setup formset.
  17. //
  18. // --*/
  19. //
  20. // Security Configuration Form
  21. //
  22. form formid = SECURITY_CONFIGURATION_FORM_ID,
  23. title = STRING_TOKEN(STR_SECURITY_CONFIGURATION_TITLE);
  24. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  25. //
  26. //TPM related
  27. //
  28. subtitle text = STRING_TOKEN(STR_TPM_CONFIGURATION_PROMPT);
  29. grayoutif ideqval Setup.ETpm== 0x1;
  30. oneof varid = Setup.fTPM,
  31. prompt = STRING_TOKEN(STR_PTT_PROMPT),
  32. help = STRING_TOKEN(STR_PTT_HELP),
  33. option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
  34. option text = STRING_TOKEN(STR_DISABLE), value= 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
  35. endoneof;
  36. endif;
  37. grayoutif ideqval Setup.fTPM == 0x1;
  38. oneof varid = Setup.ETpm,
  39. prompt = STRING_TOKEN(STR_TPM_PROMPT),
  40. help = STRING_TOKEN(STR_TPM_HELP),
  41. option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
  42. option text = STRING_TOKEN(STR_DISABLE), value= 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
  43. endoneof;
  44. endif;
  45. suppressif ideqval Setup.fTPM == 0;
  46. oneof varid = Setup.MeasuredBootEnable,
  47. prompt = STRING_TOKEN(STR_MEASURED_BOOT_ENABLE_PROMPT),
  48. help = STRING_TOKEN(STR_MEASURED_BOOT_ENABLE_HELP),
  49. option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
  50. option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
  51. endoneof;
  52. endif;
  53. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  54. subtitle text = STRING_TOKEN(STR_PASSWORD_CONFIGURATION_SUBTITLE);
  55. password varid = Setup.AdminPassword,
  56. prompt = STRING_TOKEN(STR_ADMIN_PASSWORD),
  57. help = STRING_TOKEN(STR_ADMIN_PASSWORD_HELP),
  58. flags = 0,
  59. minsize = 0,
  60. maxsize = PASSWORD_MAX_SIZE,
  61. encoding = 1,
  62. endpassword;
  63. password varid = Setup.UserPassword,
  64. prompt = STRING_TOKEN(STR_USER_PASSWORD),
  65. help = STRING_TOKEN(STR_USER_PASSWORD_HELP),
  66. flags = 0,
  67. minsize = 0,
  68. maxsize = PASSWORD_MAX_SIZE,
  69. encoding = 1,
  70. endpassword;
  71. suppressif TRUE;
  72. password varid = Setup.AdminPassword,
  73. prompt = STRING_TOKEN(STR_CHANGE_ADMIN_PASSWORD),
  74. help = STRING_TOKEN(STR_CHANGE_ADMIN_PASSWORD_HELP),
  75. flags = 0,
  76. minsize = 0,
  77. maxsize = PASSWORD_MAX_SIZE,
  78. encoding = 1,
  79. endpassword;
  80. password varid = Setup.UserPassword,
  81. prompt = STRING_TOKEN(STR_CHANGE_USER_PASSWORD),
  82. help = STRING_TOKEN(STR_CHANGE_USER_PASSWORD_HELP),
  83. flags = 0,
  84. minsize = 0,
  85. maxsize = PASSWORD_MAX_SIZE,
  86. encoding = 1,
  87. endpassword;
  88. endif;
  89. endform;