mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-31 11:23:00 +00:00 
			
		
		
		
	 878b807a43
			
		
	
	
		878b807a43
		
	
	
	
	
		
			
			https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /** @file
 | |
| *
 | |
| *  Copyright (c) 2017, Linaro, Ltd. All rights reserved.
 | |
| *
 | |
| *  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| *
 | |
| **/
 | |
| 
 | |
| #include <Uefi/UefiMultiPhase.h>
 | |
| #include "ConsolePrefDxe.h"
 | |
| 
 | |
| formset
 | |
|   guid      = CONSOLE_PREF_FORMSET_GUID,
 | |
|   title     = STRING_TOKEN(STR_FORM_SET_TITLE),
 | |
|   help      = STRING_TOKEN(STR_FORM_SET_TITLE_HELP),
 | |
|   classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
 | |
| 
 | |
|   efivarstore CONSOLE_PREF_VARSTORE_DATA,
 | |
|     attribute = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,  // EFI variable attributes
 | |
|     name  = ConsolePref,
 | |
|     guid  = CONSOLE_PREF_FORMSET_GUID;
 | |
| 
 | |
|   form formid = 0x1000,
 | |
|     title  = STRING_TOKEN(STR_MAIN_FORM_TITLE);
 | |
| 
 | |
|     oneof varid = ConsolePref.Console,
 | |
|         prompt      = STRING_TOKEN(STR_CONSOLE_PREF_SELECT_PROMPT),
 | |
|         help        = STRING_TOKEN(STR_CONSOLE_PREF_SELECT_HELP),
 | |
|         flags       = NUMERIC_SIZE_1 | INTERACTIVE,
 | |
|         option text = STRING_TOKEN(STR_CONSOLE_PREF_GRAPHICAL), value = CONSOLE_PREF_GRAPHICAL, flags = DEFAULT;
 | |
|         option text = STRING_TOKEN(STR_CONSOLE_PREF_SERIAL), value = CONSOLE_PREF_SERIAL, flags = 0;
 | |
|     endoneof;
 | |
| 
 | |
|     subtitle text = STRING_TOKEN(STR_NULL_STRING);
 | |
| 
 | |
|   endform;
 | |
| 
 | |
| endformset;
 |