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: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
		
			
				
	
	
		
			38 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // /** @file
 | |
| // This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist.
 | |
| //
 | |
| // It doesn't install again if this protocol exists.
 | |
| // It only implements one interface GetDriver of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol
 | |
| // and doesn't support other two interfaces GetDriverPath, DriverLoaded.
 | |
| //
 | |
| // This driver also offers an UI interface in device manager to let user configure
 | |
| // platform override protocol to override the default algorithm for matching
 | |
| // drivers to controllers.
 | |
| //
 | |
| // The main flow:
 | |
| // 1. It dynamicly locate all controller device path.
 | |
| // 2. It dynamicly locate all drivers which support binding protocol.
 | |
| // 3. It export and dynamicly update two menu to let user select the
 | |
| // mapping between drivers to controllers.
 | |
| // 4. It save all the mapping info in NV variables for the following boot,
 | |
| // which will be consumed by GetDriver API of the produced the platform override protocol.
 | |
| //
 | |
| // Caution: This module is a sample implementation for the test purpose.
 | |
| //
 | |
| // Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
| //
 | |
| // SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| //
 | |
| // **/
 | |
| 
 | |
| 
 | |
| #string STR_MODULE_ABSTRACT             #language en-US "Produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist"
 | |
| 
 | |
| #string STR_MODULE_DESCRIPTION          #language en-US "This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist. It only implements the GetDriver() interface of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol This driver also offers an UI interface in device manager to let users configure PlatformOverrideProtocol to override the default algorithm for matching drivers to controllers.<BR><BR>\n"
 | |
|                                                         "The main flow:<BR>\n"
 | |
|                                                         "1. It dynamically locates all controller device path.<BR>\n"
 | |
|                                                         "2. It dynamically locates all drivers which support binding protocol.<BR>\n"
 | |
|                                                         "3. It exports and dynamicly updates two menu to let user select the  mapping between drivers to controllers.<BR>\n"
 | |
|                                                         "4. It saves all the mapping info in NV variables for the following boot,  which will be consumed by GetDriver API of the produced the platform override protocol.<BR>"
 | |
| 
 |