mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-10-31 19:23:54 +01:00 
			
		
		
		
	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:
		
							parent
							
								
									3dd405becf
								
							
						
					
					
						commit
						fe81726212
					
				| @ -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) | ||||
|  | ||||
| @ -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); | ||||
|  | ||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user