Apply new defined IFR related HII APIs in PlatOverMngr, DriverSample, IScsiDxe and Setup drivers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8066 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			87 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			87 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| #/** @file
 | |
| #
 | |
| #  A UI application to offer 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. The UI application dynamicly locate all controller device path.
 | |
| #  2. The UI application dynamicly locate all drivers which support binding protocol.
 | |
| #  3. The UI application export and dynamicly update two menu to let user select the
 | |
| #     mapping between drivers to controllers.
 | |
| #  4. The UI application save all the mapping info in NV variables for the following boot, 
 | |
| #     which will be consumed by platform override protocol driver to publish the platform override protocol.
 | |
| #
 | |
| # Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.
 | |
| #
 | |
| #  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
 | |
| #
 | |
| #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
| #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| #
 | |
| #
 | |
| #**/
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = PlatOverMngr
 | |
|   FILE_GUID                      = 56D95BFE-F991-4898-B3BE-B8F37C927F48
 | |
|   MODULE_TYPE                    = UEFI_APPLICATION
 | |
|   VERSION_STRING                 = 1.0
 | |
|   ENTRY_POINT                    = PlatOverMngrInit
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
 | |
| #
 | |
| 
 | |
| [Sources.common]
 | |
|   VfrStrings.uni
 | |
|   Vfr.vfr
 | |
|   PlatOverMngr.c
 | |
|   PlatOverMngr.h
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib
 | |
|   DebugLib
 | |
|   UefiLib
 | |
|   UefiApplicationEntryPoint
 | |
|   UefiBootServicesTableLib
 | |
|   PlatformDriverOverrideLib
 | |
|   HiiLib
 | |
|   BaseMemoryLib
 | |
|   MemoryAllocationLib
 | |
|   DevicePathLib
 | |
|   
 | |
| [Guids]
 | |
| ##  This GUID C Name is not required for build since it is from UefiLib and not directly used by this module source.
 | |
| ##  gEfiGlobalVariableGuid                      ## SOMETIMES_CONSUMED ## Variable:L"PlatformLang" this variable specifies the platform supported language string (RFC 4646 format)
 | |
| ##  gEfiGlobalVariableGuid                      ## SOMETIMES_CONSUMED ## Variable:L"Lang" this variable specifies the platform supported language string (ISO 639-2 format)
 | |
|   gEfiIfrTianoGuid                              ## CONSUMES ## Guid
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiComponentName2ProtocolGuid                ## SOMETIMES_CONSUMED (Get Driver Name if ComponentName2Protocol exists)
 | |
|   gEfiComponentNameProtocolGuid                 ## SOMETIMES_CONSUMED (Get Driver Name if ComponentNameProtocol exists and ComponentName2Protocol doesn't exist)
 | |
|   gEfiFirmwareVolume2ProtocolGuid               ## SOMETIMES_CONSUMED (Get Driver Name from EFI UI section if ComponentName2Protocol and ComponentNameProtocol don't exist)
 | |
|   gEfiPciIoProtocolGuid                         ## SOMETIMES_CONSUMED (Find the PCI device if PciIo protocol is installed)
 | |
|   gEfiBusSpecificDriverOverrideProtocolGuid     ## SOMETIMES_CONSUMED (Check whether the PCI device contains one or more efi drivers in its option rom by this protocol) 
 | |
| 
 | |
|   gEfiDriverBindingProtocolGuid                 ## SOMETIMES_CONSUMED
 | |
|   gEfiLoadedImageProtocolGuid                   ## SOMETIMES_CONSUMED
 | |
|   gEfiLoadedImageDevicePathProtocolGuid         ## SOMETIMES_CONSUMED (Show the drivers in the second page that support DriverBindingProtocol, LoadedImageProtocol and LoadedImageDevicePathProtocol)
 | |
|   gEfiDevicePathProtocolGuid                    ## SOMETIMES_CONSUMED (Show the controller device in the first page that support DevicePathProtocol)
 | |
| 
 | |
|   gEfiHiiDatabaseProtocolGuid                   ## CONSUMED
 | |
|   gEfiFormBrowser2ProtocolGuid                  ## CONSUMED
 | |
|   gEfiHiiConfigRoutingProtocolGuid              ## CONSUMED
 | |
|   gEfiHiiConfigAccessProtocolGuid               ## PRODUCED
 | |
|   gEfiDevicePathToTextProtocolGuid              ## CONSUMED
 |