X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDriverSampleDxe%2FVfr.vfr;h=e82cccc9db5a9d2be08251ad83583c8ecf410394;hp=7b18c3c64553cef286d62ad764ff143e1b7533a1;hb=e5eed7d3641d71d7ea539e5379ea9c6a5cd97004;hpb=96a65fc85a3b7ebe6bd981db3c92f425cb6b9c46
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
index 7b18c3c645..e82cccc9db 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
+++ b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
@@ -2,8 +2,8 @@
//
// Sample Setup formset.
//
-// Copyright (c) 2004 - 2010, Intel Corporation.
-// All rights reserved. This program and the accompanying materials
+// Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.
+// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.org/licenses/bsd-license.php
@@ -424,6 +424,15 @@ formset
maxsize = 20,
endpassword;
+ //
+ // Sample use case for IFR Security op-code
+ //
+ grayoutif NOT security (EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID);
+ text
+ help = STRING_TOKEN(STR_TEXT_SECRUITY_TEST_HELP),
+ text = STRING_TOKEN(STR_TEXT_SECRUITY_TEST_TEXT);
+ endif;
+
goto 2,
prompt = STRING_TOKEN(STR_GOTO_FORM2), //SecondSetupPage // this too has no end-op and basically it's a jump to a form ONLY
help = STRING_TOKEN(STR_GOTO_HELP);