Add sample use case for IFR security op-code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10255 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
rsun3 2010-03-16 06:25:10 +00:00
parent 3dd405becf
commit fe81726212
3 changed files with 12 additions and 0 deletions

View File

@ -38,6 +38,9 @@ Revision History:
0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \
}
#define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \
{ 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } }
#define CONFIGURATION_VARSTORE_ID 0x1234
#pragma pack(1)

View File

@ -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);